public class ArrayType extends ContainerType
| Modifier and Type | Method and Description |
|---|---|
List<Class> |
getElementTypes()
Collection/Array/Map content type.
|
boolean |
isAssignableFrom(Class givenType) |
boolean |
isEmpty(Object array) |
boolean |
isFullyParametrized()
returns true if Enumerable is generic Type and all its arguments are actual Classes
|
Object |
map(Object sourceArray,
EnumerableFunction mapFunction,
OwnerContext owner)
Returns new instance of Enumerable with items from sourceEnumerable mapped by mapFunction.
|
getItemClassequals, getBaseJavaClass, getBaseJavaType, hashCode, isGenericType, toStringpublic ArrayType(Type baseJavaType)
public boolean isFullyParametrized()
EnumerableTypeisFullyParametrized in class EnumerableTypepublic boolean isAssignableFrom(Class givenType)
isAssignableFrom in class JaversTypepublic List<Class> getElementTypes()
EnumerableTypeClass.getComponentType()
getElementTypes in class EnumerableTypepublic Object map(Object sourceArray, EnumerableFunction mapFunction, OwnerContext owner)
EnumerableTypemap in class EnumerableTypepublic boolean isEmpty(Object array)
isEmpty in class EnumerableTypeCopyright © 2014. All rights reserved.