| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | isWrapperType(Type type)
Returns |
| public static <T> Class | |
| public static <T> Class |
| Primitives | back to summary |
|---|---|
| private Primitives() | |
| isPrimitive | back to summary |
|---|---|
| public static boolean isPrimitive(Type type) Returns true if this type is a primitive. | |
| isWrapperType | back to summary |
|---|---|
| public static boolean isWrapperType(Type type) Returns
| |
| unwrap | back to summary |
|---|---|
| public static <T> Class Returns the corresponding primitive type of
unwrap(Integer.class) == int.class
unwrap(int.class) == int.class
unwrap(String.class) == String.class
| |
| wrap | back to summary |
|---|---|
| public static <T> Class Returns the corresponding wrapper type of
wrap(int.class) == Integer.class
wrap(Integer.class) == Integer.class
wrap(String.class) == String.class
| |