Java com.google.gson.internal Primitives fields, constructors, methods, implement or subclass

Example usage for Java com.google.gson.internal Primitives fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Method

booleanisPrimitive(Type type)
Returns true if this type is a primitive.
booleanisWrapperType(Type 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.