NumericTypepublic abstract class NumericType extends PrimitiveType implements NumberTypeThis class is the super class for all integral and floating point types. |
Constructors Summary |
---|
public NumericType(String name, Class clazz, int enumType)
super(name, clazz, enumType);
|
Methods Summary |
---|
public abstract java.lang.Number | getValue(java.lang.Number value)Converts the specified value into a value of this numeric type.
E.g. an Integer is converted into a Double, if this represents
the numeric type double.
| public boolean | isOrderable()A numeric type defines an ordering.
return true;
| public abstract java.lang.Number | negate(java.lang.Number value)Returns -value.
|
|