Example usage for Java com.google.gson.internal Primitives fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isPrimitive(Type type) Returns true if this type is a primitive. |
boolean | isWrapperType(Type type) Returns true if type is one of the nine primitive-wrapper types, such as Integer . |
Class | unwrap(Class Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself. |
Class | wrap(Class Returns the corresponding wrapper type of type if it is a primitive type; otherwise returns type itself. |