public class TypeKey extends Object
Modifier and Type | Field | Description |
---|---|---|
protected Class<?> |
_class |
|
protected int |
_hashCode |
|
protected boolean |
_isTyped |
Indicator of whether serializer stored has a type serializer
wrapper around it or not; if not, it is "untyped" serializer;
if it has, it is "typed"
|
protected JavaType |
_type |
Constructor | Description |
---|---|
TypeKey() |
|
TypeKey(JavaType key,
boolean typed) |
|
TypeKey(TypeKey src) |
|
TypeKey(Class<?> key,
boolean typed) |
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) |
protected int _hashCode
protected Class<?> _class
protected JavaType _type
protected boolean _isTyped
public TypeKey()
public TypeKey(TypeKey src)
public TypeKey(Class<?> key, boolean typed)
public TypeKey(JavaType key, boolean typed)
public static final int untypedHash(Class<?> cls)
public static final int typedHash(Class<?> cls)
public static final int untypedHash(JavaType type)
public static final int typedHash(JavaType type)
public final void resetTyped(Class<?> cls)
public final void resetUntyped(Class<?> cls)
public final void resetTyped(JavaType type)
public final void resetUntyped(JavaType type)
public boolean isTyped()
public Class<?> getRawType()
public JavaType getType()
Copyright © 2008–2018. All rights reserved.