| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Map | Returns: unmodifiable mapMap with all primitives and the corresponding wrapper type. |
| public static Map | Returns: unmodifiable mapMap with all wrapper types and the corresponding primitive. |
| public static boolean | Returns: true if classes equal or both of compatible (wrapper) types, false otherwise or if any parameter is nullCheck if the given classes are equal or are equal wrapper types (e.g. byte == Byte). |
| PRIMITIVE_TO_WRAPPER | back to summary |
|---|---|
| private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER | |
| WRAPPER_TO_PRIMITIVE | back to summary |
|---|---|
| private static final Map<Class<?>, Class<?>> WRAPPER_TO_PRIMITIVE | |
| PrimitiveUtils | back to summary |
|---|---|
| private PrimitiveUtils() | |
| getPrimitiveToWrapperTypes | back to summary |
|---|---|
| public static Map Map with all primitives and the corresponding wrapper type. | |
| getWrapperToPrimitiveTypes | back to summary |
|---|---|
| public static Map Map with all wrapper types and the corresponding primitive. | |
| isCompatiblePrimitiveOrWrapper | back to summary |
|---|---|
| public static boolean isCompatiblePrimitiveOrWrapper(Class<?> _clz1, Class<?> _clz2) Check if the given classes are equal or are equal wrapper types (e.g. byte == Byte).
| |