Java com.google.common.primitives Primitives fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.primitives Primitives fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.primitives Primitives.

The text is from its open source code.

Method

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 ).
booleanisWrapperType(Class type)
Returns true if type is one of the nine primitive-wrapper types, such as Integer .
Classunwrap(Class type)
Returns the corresponding primitive type of type if it is a wrapper type; otherwise returns type itself.
Classwrap(Class type)
Returns the corresponding wrapper type of type if it is a primitive type; otherwise returns type itself.