Example usage for Java com.google.common.primitives Primitives fields, constructors, methods, implement or subclass
The text is from its open source code.
Set | allPrimitiveTypes() Returns an immutable set of all nine primitive types (including void ). |
Set | allWrapperTypes() Returns an immutable set of all nine primitive-wrapper types (including Void ). |
boolean | isWrapperType(Class> 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. |