public class CollectionType extends ContainerType
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionType.CollectionEnumerationOwnerContext
marker class
|
| Constructor and Description |
|---|
CollectionType(java.lang.reflect.Type baseJavaType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty(java.lang.Object collection) |
boolean |
isFullyParametrized()
returns true if Enumerable is generic Type and all its arguments are actual Classes
|
java.lang.Object |
map(java.lang.Object sourceCol_,
EnumerableFunction mapFunction,
OwnerContext owner)
Returns new instance of Enumerable with items from sourceEnumerable mapped by mapFunction.
|
getItemClass, getItemTypeequals, getActualTypeArguments, getBaseJavaClass, getBaseJavaType, getName, hashCode, isGenericType, isInstance, prettyPrint, prettyPrintBuilder, toStringpublic boolean isFullyParametrized()
EnumerableTypeisFullyParametrized in class EnumerableTypepublic boolean isEmpty(java.lang.Object collection)
isEmpty in class EnumerableTypepublic java.lang.Object map(java.lang.Object sourceCol_,
EnumerableFunction mapFunction,
OwnerContext owner)
EnumerableTypemap in class EnumerableType