public abstract class EnumerableType extends JaversType
| Constructor and Description |
|---|
EnumerableType(java.lang.reflect.Type baseJavaType) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<java.lang.Class> |
getElementTypes()
Collection/Array/Map content type.
|
abstract boolean |
isEmpty(java.lang.Object container) |
abstract boolean |
isFullyParametrized()
returns true if Enumerable is generic Type and all its arguments are actual Classes
|
abstract java.lang.Object |
map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
Returns new instance of Enumerable with items from sourceEnumerable mapped by mapFunction.
|
equals, getBaseJavaClass, getBaseJavaType, hashCode, isGenericType, toStringpublic abstract java.util.List<java.lang.Class> getElementTypes()
Class.getComponentType()
public abstract boolean isFullyParametrized()
public abstract java.lang.Object map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
public abstract boolean isEmpty(java.lang.Object container)