public class CollectionType extends ContainerType
| Constructor and Description |
|---|
CollectionType(Type baseJavaType) |
| Modifier and Type | Method and Description |
|---|---|
List<Class> |
getElementTypes()
Collection/Array/Map content type.
|
boolean |
isEmpty(Object collection) |
boolean |
isFullyParametrized()
returns true if Enumerable is generic Type and all its arguments are actual Classes
|
Object |
map(Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
implemented in subclasses
|
getItemClassequals, getBaseJavaClass, getBaseJavaType, hashCode, isAssignableFrom, isGenericType, toStringpublic CollectionType(Type baseJavaType)
public boolean isFullyParametrized()
EnumerableTypeisFullyParametrized in class EnumerableTypepublic List<Class> getElementTypes()
EnumerableTypeClass.getComponentType()
getElementTypes in class EnumerableTypepublic Object map(Object sourceEnumerable, EnumerableFunction mapFunction, OwnerContext owner)
map in class EnumerableTypepublic boolean isEmpty(Object collection)
isEmpty in class EnumerableTypeCopyright © 2014. All rights reserved.