Class ClassTypePair
java.lang.Object
org.glassfish.jersey.internal.util.collection.ClassTypePair
A pair of raw class and the related type.
- Author:
- Marek Potociar
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassTypePair
Create new type-class pair for a non-generic class.static ClassTypePair
Create new type-class pair.Class<?>
rawClass()
Get the raw class of thetype
.type()
Get the actual type behind theraw class
.
-
Method Details
-
rawClass
Get the raw class of thetype
.- Returns:
- raw class of the type.
-
type
Get the actual type behind theraw class
.- Returns:
- the actual type behind the raw class.
-
of
Create new type-class pair for a non-generic class.- Parameters:
rawClass
- (raw) class representing the non-generic type.- Returns:
- new non-generic type-class pair.
-
of
Create new type-class pair.- Parameters:
rawClass
- raw class representing the type.type
- type behind the class.- Returns:
- new type-class pair.
-