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)
"Copy method" that will construct a new instance that is identical to
this instance, except that it will have specified content value handler assigned.
|
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)
"Copy method" that will construct a new instance that is identical to
this instance, except that it will have specified value handler assigned.
|
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, widenByprotected JavaType _narrow(Class<?> subclass)
_narrow in class CollectionLikeTypepublic JavaType narrowContentsBy(Class<?> contentClass)
narrowContentsBy in class CollectionLikeTypepublic JavaType widenContentsBy(Class<?> contentClass)
widenContentsBy in class CollectionLikeTypepublic static CollectionType construct(Class<?> rawType, JavaType elemT)
public CollectionType withTypeHandler(Object h)
JavaTypewithTypeHandler in class CollectionLikeTypepublic CollectionType withContentTypeHandler(Object h)
JavaTypewithContentTypeHandler in class CollectionLikeTypepublic CollectionType withValueHandler(Object h)
JavaTypewithValueHandler in class CollectionLikeTypepublic CollectionType withContentValueHandler(Object h)
JavaTypewithContentValueHandler in class CollectionLikeTypepublic String toString()
toString in class CollectionLikeTypeCopyright © 2012-2013 FasterXML. All Rights Reserved.