- isInteger
Returns true if the given type is an integer type. The integer types are Long,
long, Integer, int, S
- primitiveToWrapper
Changes a primitive class to its wrapper (for example int to Integer). If the
specified class is not
- cast
Casts a number to the specified type. The target type can be one of Byte, Short,
Integer, Long, Floa
- getEnumConstant
Returns a numeric constant for the given type. The constants are #BIG_DECIMAL,
#BIG_INTEGER, #DOUBLE
- widestClass
Returns the widest type of two numbers. Numbers n1 and n2 can be instance of
Byte, Short, Integer, L
- wrap
Wraps the given integer value in a Number of the specified class. The given type
shall be one of Byt
- wrapperToPrimitive
Changes a wrapper class to its primitive (for example Integer to int). If the
specified class is not
- isFloat
Returns true if the given type is a floating point type. The list of floating
point types include pr
- narrowestNumber
Returns the smallest number capable to hold the specified value.
- valueOfNil
Returns a NaN, zero, empty or null value of the given type. This method tries to
return the closest
- narrowestClass
Returns the narrowest type of two numbers. Numbers n1 and n2 must be instance of
any of Byte, Short,
- valueOf
Converts the specified string into a value object. The value object can be an
instance of BigDecimal