public final class ClassUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
getPrimitiveType(Class<?> wrapperType)
Returns the corresponding primitive type for the given primitive wrapper,
or null if the type is not a primitive wrapper.
|
static Class<?> |
getWrapperType(Class<?> primitiveType)
Returns the corresponding wrapper type for the given primitive,
or null if the type is not primitive.
|
Copyright © 2019 Glasnost. All rights reserved.