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