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