JsonSerializable
, JsonSerializableWithType
public final class MapType extends MapLikeType
_class, _hashCode, _typeHandler, _valueHandler
_keyType, _valueType
Modifier and Type | Method | Description |
---|---|---|
protected JavaType |
_narrow(java.lang.Class<?> subclass) |
|
static MapType |
construct(java.lang.Class<?> rawType,
JavaType keyT,
JavaType valueT) |
|
JavaType |
narrowContentsBy(java.lang.Class<?> contentClass) |
|
JavaType |
narrowKey(java.lang.Class<?> keySubclass) |
|
java.lang.String |
toString() |
|
JavaType |
widenContentsBy(java.lang.Class<?> contentClass) |
|
JavaType |
widenKey(java.lang.Class<?> keySubclass) |
|
MapType |
withContentTypeHandler(java.lang.Object h) |
"Copy method" that will construct a new instance that is identical to
this instance, except that its content type will have specified
type handler assigned.
|
MapType |
withContentValueHandler(java.lang.Object h) |
|
MapType |
withKeyTypeHandler(java.lang.Object h) |
|
MapType |
withKeyValueHandler(java.lang.Object h) |
|
MapType |
withTypeHandler(java.lang.Object h) |
"Copy method" that will construct a new instance that is identical to
this instance, except that it will have specified type handler assigned.
|
MapType |
withValueHandler(java.lang.Object h) |
_assertSubclass, _widen, forcedNarrowBy, getErasedSignature, getGenericSignature, getRawClass, hasGenericTypes, hashCode, hasRawClass, isAbstract, isArrayType, isCollectionLikeType, isConcrete, isEnumType, isFinal, isInterface, isPrimitive, isThrowable, narrowBy, setValueHandler, widenBy
buildCanonicalName, containedType, containedTypeCount, containedTypeName, equals, getContentType, getErasedSignature, getGenericSignature, getKeyType, isContainerType, isMapLikeType, isTrueMapType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
_classSignature, getTypeHandler, getValueHandler, serialize, serializeWithType, toCanonical
public static MapType construct(java.lang.Class<?> rawType, JavaType keyT, JavaType valueT)
protected JavaType _narrow(java.lang.Class<?> subclass)
_narrow
in class MapLikeType
public JavaType narrowContentsBy(java.lang.Class<?> contentClass)
narrowContentsBy
in class MapLikeType
public JavaType widenContentsBy(java.lang.Class<?> contentClass)
widenContentsBy
in class MapLikeType
public JavaType narrowKey(java.lang.Class<?> keySubclass)
narrowKey
in class MapLikeType
public JavaType widenKey(java.lang.Class<?> keySubclass)
widenKey
in class MapLikeType
public MapType withTypeHandler(java.lang.Object h)
JavaType
withTypeHandler
in class MapLikeType
public MapType withContentTypeHandler(java.lang.Object h)
JavaType
withContentTypeHandler
in class MapLikeType
public MapType withValueHandler(java.lang.Object h)
withValueHandler
in class MapLikeType
public MapType withContentValueHandler(java.lang.Object h)
withContentValueHandler
in class MapLikeType
public MapType withKeyTypeHandler(java.lang.Object h)
withKeyTypeHandler
in class MapLikeType
public MapType withKeyValueHandler(java.lang.Object h)
withKeyValueHandler
in class MapLikeType
public java.lang.String toString()
toString
in class MapLikeType