MapType, MultimapTypepublic abstract class KeyValueType extends EnumerableType
DEFAULT_TYPE_PARAMETER| Constructor | Description |
|---|---|
KeyValueType(java.lang.reflect.Type baseJavaType,
int expectedArgs) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBePrototype() |
|
java.lang.Class |
getBaseJavaClass() |
|
java.lang.reflect.Type |
getKeyType() |
never returns null
|
protected java.lang.reflect.Type |
getRawDehydratedType() |
Type for JSON representation.
|
java.lang.reflect.Type |
getValueType() |
never returns null
|
boolean |
isInstance(java.lang.Object cdo) |
empty, isEmpty, map, mapequals, equals, getBaseJavaType, getConcreteClassTypeArguments, getName, hashCode, isGenericType, prettyPrint, prettyPrintBuilder, toStringpublic KeyValueType(java.lang.reflect.Type baseJavaType,
int expectedArgs)
public java.lang.reflect.Type getKeyType()
public java.lang.reflect.Type getValueType()
public boolean canBePrototype()
canBePrototype in class JaversTypepublic boolean isInstance(java.lang.Object cdo)
isInstance in class JaversTypeprotected java.lang.reflect.Type getRawDehydratedType()
public java.lang.Class getBaseJavaClass()