public class MapType extends EnumerableType
| Constructor and Description |
|---|
MapType(ContainerType containerType)
Fake MapType for List & Array ChangeAppenders
|
MapType(Type baseJavaType) |
| Modifier and Type | Method and Description |
|---|---|
List<Class> |
getElementTypes()
If both Key and Value type arguments are actual Classes,
returns List with key Class and value Class.
|
Class |
getKeyClass()
never returns null
|
Class |
getValueClass()
never returns null
|
boolean |
isEmpty(Object map) |
boolean |
isFullyParametrized()
returns true if Enumerable is generic Type and all its arguments are actual Classes
|
Map |
map(Object sourceMap_,
EnumerableFunction mapFunction,
OwnerContext owner)
Returns new instance of Enumerable with items from sourceEnumerable mapped by mapFunction.
|
equals, getBaseJavaClass, getBaseJavaType, hashCode, isAssignableFrom, isGenericType, toStringpublic MapType(ContainerType containerType)
public MapType(Type baseJavaType)
public boolean isFullyParametrized()
EnumerableTypeisFullyParametrized in class EnumerableTypepublic Map map(Object sourceMap_, EnumerableFunction mapFunction, OwnerContext owner)
EnumerableTypemap in class EnumerableTypepublic boolean isEmpty(Object map)
isEmpty in class EnumerableTypepublic List<Class> getElementTypes()
getElementTypes in class EnumerableTypepublic Class getKeyClass()
JaversException - GENERIC_TYPE_NOT_PARAMETRIZEDpublic Class getValueClass()
JaversException - GENERIC_TYPE_NOT_PARAMETRIZEDCopyright © 2014. All rights reserved.