rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/FactMap.java
@Deprecated
  public Integer getIntVal(String name) {
    Object value = getValue(name);
    if (value != null) {
      if (Integer.class == value.getClass()) {
        return (Integer)value;
      }
      if (value.getClass() == String.class) {
        return Integer.valueOf((String) value);
      }
    }
    return null;
  }
@Deprecated
  public Integer getIntVal(String name) {
    Object value = getValue(name);
    if (value != null) {
      if (Integer.class == value.getClass()) {
        return (Integer)value;
      }
      if (value.getClass() == String.class) {
        return Integer.valueOf((String) value);
      }
    }
    return null;
  }
@ Deprecated public Integer getIntVal ( String name ) { Object value = getValue ( name ) ; if ( value != null ) { if ( Integer . class == value . getClass ( ) ) { return ( Integer ) value ; } if ( value . getClass ( ) == String . class ) { return Integer . valueOf ( ( String ) value ) ; } } return null ; }
Method getIntVal() gets the Integer value of a Fact in the FactMap.
@param name  the name of the Fact in the FactMap
@return      the Integer value of the Fact specified
Method getIntVal () gets the Integer value of a Fact in the FactMap .