| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map | |
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Class | |
| public static boolean | |
| public static Class | Returns: the Java type ornullthe name of the type name)Get the primitive type by name. |
| public static char | Returns: the representing character or 0the primitive type type)Get the representing character of a primitive type. |
| public static Class |
| BOX | back to summary |
|---|---|
| private static final Map<K, V> BOX | |
| NAMED_PRIMITIVE | back to summary |
|---|---|
| private static final Map<K, V> NAMED_PRIMITIVE | |
| REPRESENTING_CHAR | back to summary |
|---|---|
| private static final Map<K, V> REPRESENTING_CHAR | |
| UNBOX | back to summary |
|---|---|
| private static final Map<K, V> UNBOX | |
| Primitives | back to summary |
|---|---|
| public Primitives() | |
| box | back to summary |
|---|---|
| public static Class Get the boxed type for a primitive. | |
| isBoxed | back to summary |
|---|---|
| public static boolean isBoxed(final Class<T> type) Check for a boxed type.
| |
| primitiveType | back to summary |
|---|---|
| public static Class Get the primitive type by name. | |
| representingChar | back to summary |
|---|---|
| public static char representingChar(final Class<T> type) Get the representing character of a primitive type.
| |
| unbox | back to summary |
|---|---|
| public static Class Get the primitive type for a boxed one. | |