|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.internal.util.collection.ClassTypePair
public final class ClassTypePair
A pair of raw class and the related type.
| Method Summary | |
|---|---|
static ClassTypePair |
of(Class<?> rawClass)
Create new type-class pair for a non-generic class. |
static ClassTypePair |
of(Class<?> rawClass,
Type type)
Create new type-class pair. |
Class<?> |
rawClass()
Get the raw class of the type. |
Type |
type()
Get the actual type behind the raw class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Class<?> rawClass()
type.
public Type type()
raw class.
public static ClassTypePair of(Class<?> rawClass)
rawClass - (raw) class representing the non-generic type.
public static ClassTypePair of(Class<?> rawClass,
Type type)
rawClass - raw class representing the type.type - type behind the class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||