/** * Ask whether a built-in type is a numeric type (integer, float, double) * @return true if the type is numeric */ public boolean isNumericType() { ItemType p = getPrimitiveItemType(); return p == NumericType.getInstance() || p == DECIMAL || p == DOUBLE || p == FLOAT || p == INTEGER; }
/** * Ask whether a built-in type is a numeric type (integer, float, double) * @return true if the type is numeric */ public boolean isNumericType() { ItemType p = getPrimitiveItemType(); return p == NumericType.getInstance() || p == DECIMAL || p == DOUBLE || p == FLOAT || p == INTEGER; }