ListAsSetType, ListType, MultisetType, OptionalType, SetTypepublic class CollectionType extends ContainerType
DEFAULT_TYPE_PARAMETER| Constructor | Description |
|---|---|
CollectionType(java.lang.reflect.Type baseJavaType) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBePrototype() |
|
java.lang.Object |
empty() |
|
java.lang.Class |
getBaseJavaClass() |
|
protected java.lang.reflect.Type |
getRawDehydratedType() |
Type for JSON representation.
|
boolean |
isEmpty(java.lang.Object collection) |
|
boolean |
isInstance(java.lang.Object cdo) |
|
java.lang.Object |
map(java.lang.Object sourceEnumerable,
java.util.function.Function mapFunction) |
Nulls are filtered
|
java.lang.Object |
map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner) |
OwnerContext aware version of
EnumerableType.map(Object, EnumerableFunction, OwnerContext) |
protected java.lang.Object |
mapToList(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner) |
|
protected java.lang.Object |
mapToSet(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner) |
getItemClass, getItemTypeequals, equals, getBaseJavaType, getConcreteClassTypeArguments, getName, hashCode, isGenericType, prettyPrint, prettyPrintBuilder, toStringpublic boolean isEmpty(java.lang.Object collection)
isEmpty in class EnumerableTypepublic java.lang.Object map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
EnumerableTypeEnumerableType.map(Object, EnumerableFunction, OwnerContext)map in class EnumerableTypeprotected java.lang.Object mapToList(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
protected java.lang.Object mapToSet(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
public java.lang.Object map(java.lang.Object sourceEnumerable,
java.util.function.Function mapFunction)
map in class EnumerableTypepublic java.lang.Object empty()
empty in class EnumerableTypepublic 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()