Class TypeKey
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.TypeKey
-
public class TypeKey extends Object
Key that offers two "modes"; one with raw class, as used for cases were raw class type is available (for example, when using runtime type); and one with full generics-including.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Class<?>
getRawType()
JavaType
getType()
int
hashCode()
boolean
isTyped()
void
resetTyped(JavaType type)
void
resetTyped(Class<?> cls)
void
resetUntyped(JavaType type)
void
resetUntyped(Class<?> cls)
String
toString()
static int
typedHash(JavaType type)
static int
typedHash(Class<?> cls)
static int
untypedHash(JavaType type)
static int
untypedHash(Class<?> cls)
-
-
-
Method Detail
-
untypedHash
public static final int untypedHash(Class<?> cls)
-
typedHash
public static final int typedHash(Class<?> cls)
-
untypedHash
public static final int untypedHash(JavaType type)
-
typedHash
public static final int typedHash(JavaType type)
-
resetTyped
public final void resetTyped(Class<?> cls)
-
resetUntyped
public final void resetUntyped(Class<?> cls)
-
resetTyped
public final void resetTyped(JavaType type)
-
resetUntyped
public final void resetUntyped(JavaType type)
-
isTyped
public boolean isTyped()
-
getRawType
public Class<?> getRawType()
-
getType
public JavaType getType()
-
-