Class TypeKey
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.TypeKey
-
public class TypeKey extends java.lang.ObjectKey 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 booleanequals(java.lang.Object o)java.lang.Class<?>getRawType()JavaTypegetType()inthashCode()booleanisTyped()voidresetTyped(JavaType type)voidresetTyped(java.lang.Class<?> cls)voidresetUntyped(JavaType type)voidresetUntyped(java.lang.Class<?> cls)java.lang.StringtoString()static inttypedHash(JavaType type)static inttypedHash(java.lang.Class<?> cls)static intuntypedHash(JavaType type)static intuntypedHash(java.lang.Class<?> cls)
-
-
-
Method Detail
-
untypedHash
public static final int untypedHash(java.lang.Class<?> cls)
-
typedHash
public static final int typedHash(java.lang.Class<?> cls)
-
untypedHash
public static final int untypedHash(JavaType type)
-
typedHash
public static final int typedHash(JavaType type)
-
resetTyped
public final void resetTyped(java.lang.Class<?> cls)
-
resetUntyped
public final void resetUntyped(java.lang.Class<?> cls)
-
resetTyped
public final void resetTyped(JavaType type)
-
resetUntyped
public final void resetUntyped(JavaType type)
-
isTyped
public boolean isTyped()
-
getRawType
public java.lang.Class<?> getRawType()
-
getType
public JavaType getType()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-