public final class MapType extends MapLikeType
_keyType, _valueType
_class, _hashCode, _typeHandler, _valueHandler
Modifier and Type | Method and Description |
---|---|
protected JavaType |
_narrow(Class<?> subclass) |
static MapType |
construct(Class<?> rawType,
JavaType keyT,
JavaType valueT) |
JavaType |
narrowContentsBy(Class<?> contentClass) |
JavaType |
narrowKey(Class<?> keySubclass) |
String |
toString() |
JavaType |
widenContentsBy(Class<?> contentClass) |
JavaType |
widenKey(Class<?> keySubclass) |
MapType |
withContentTypeHandler(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(Object h) |
MapType |
withKeyTypeHandler(Object h) |
MapType |
withKeyValueHandler(Object h) |
MapType |
withTypeHandler(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(Object h) |
buildCanonicalName, containedType, containedTypeCount, containedTypeName, equals, getContentType, getErasedSignature, getGenericSignature, getKeyType, isContainerType, isMapLikeType, isTrueMapType
_classSignature, getTypeHandler, getValueHandler, serialize, serializeWithType, toCanonical
_assertSubclass, _widen, forcedNarrowBy, getErasedSignature, getGenericSignature, getRawClass, hasGenericTypes, hashCode, hasRawClass, isAbstract, isArrayType, isCollectionLikeType, isConcrete, isEnumType, isFinal, isInterface, isPrimitive, isThrowable, narrowBy, setValueHandler, widenBy
protected JavaType _narrow(Class<?> subclass)
_narrow
in class MapLikeType
public JavaType narrowContentsBy(Class<?> contentClass)
narrowContentsBy
in class MapLikeType
public JavaType widenContentsBy(Class<?> contentClass)
widenContentsBy
in class MapLikeType
public JavaType narrowKey(Class<?> keySubclass)
narrowKey
in class MapLikeType
public JavaType widenKey(Class<?> keySubclass)
widenKey
in class MapLikeType
public MapType withTypeHandler(Object h)
JavaType
withTypeHandler
in class MapLikeType
public MapType withContentTypeHandler(Object h)
JavaType
withContentTypeHandler
in class MapLikeType
public MapType withValueHandler(Object h)
withValueHandler
in class MapLikeType
public MapType withContentValueHandler(Object h)
withContentValueHandler
in class MapLikeType
public MapType withKeyTypeHandler(Object h)
withKeyTypeHandler
in class MapLikeType
public MapType withKeyValueHandler(Object h)
withKeyValueHandler
in class MapLikeType
public String toString()
toString
in class MapLikeType