public final class PrimitiveType<T> extends JavaType<T>
`T`
is the boxed type of the primitive type, for example
PrimitiveType<Boolean> type_boolean = PrimitiveType.of(boolean.class);
Instance Methods | |
---|---|
Class<T> |
getTheClass()
The Class representing the primitive type, for example `boolean.class`.
|
String |
toString(boolean full)
A textual description of the type.
|
Static Method | |
<T> PrimitiveType<T> |
of(Class<T> clazz)
Return the PrimitiveType representing the primitive type.
|
convertFrom, equals, hashCode, toString
public static <T> PrimitiveType<T> of(Class<T> clazz)
For example
PrimitiveType<Boolean> type_boolean = PrimitiveType.of(boolean.class);