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