- asList
Adapts an array of boolean into a List of Boolean.
- of
Returns the Primitive object for a given primitive class.For example, of(long.class) returns #LONG.
- ofBox
Returns the Primitive object for a given boxing class.For example, ofBox(java.util.Long.class) retur
- flavor
Returns whether this type is a primitive, box or other type. Useful for switch
statements.
- is
Returns whether a given type is primitive.
- isBox
Returns whether a given type is a box type (e.g. Integer).
- ofBoxOr
Returns the Primitive object for a given primitive or boxing class.For example, ofBoxOr(Long.class)
- arrayItem
Reads value from a source into an array.
- arrayToString
Converts an array to a string.
- box
Converts a primitive type to a boxed type; returns other types unchanged.
- isNumeric
Returns whether this Primitive is a numeric type.
- jdbcGet
Gets a value from a given column in a JDBC result set.