public abstract class EnumerableType extends JaversType
DEFAULT_TYPE_PARAMETER| Constructor and Description |
|---|
EnumerableType(java.lang.reflect.Type baseJavaType,
int expectedArgs) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isEmpty(java.lang.Object container) |
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, getConcreteClassTypeArguments, getName, hashCode, isGenericType, isInstance, prettyPrint, prettyPrintBuilder, toStringpublic EnumerableType(java.lang.reflect.Type baseJavaType,
int expectedArgs)
public abstract java.lang.Object map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
public abstract boolean isEmpty(java.lang.Object container)