public class MapType extends EnumerableType
| Constructor and Description |
|---|
MapType(java.lang.reflect.Type baseJavaType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Type |
getKeyType()
never returns null
|
java.lang.reflect.Type |
getValueType()
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.
|
static java.util.Map |
mapStatic(java.lang.Object sourceMap_,
EnumerableFunction mapFunction,
OwnerContext owner) |
equals, getActualTypeArguments, getBaseJavaClass, getBaseJavaType, hashCode, isGenericType, toStringpublic boolean isFullyParametrized()
EnumerableTypeisFullyParametrized in class EnumerableTypepublic java.util.Map map(java.lang.Object sourceMap_,
EnumerableFunction mapFunction,
OwnerContext owner)
EnumerableTypemap in class EnumerableTypepublic static java.util.Map mapStatic(java.lang.Object sourceMap_,
EnumerableFunction mapFunction,
OwnerContext owner)
public boolean isEmpty(java.lang.Object map)
isEmpty in class EnumerableTypepublic java.lang.reflect.Type getKeyType()
JaversException - GENERIC_TYPE_NOT_PARAMETRIZEDpublic java.lang.reflect.Type getValueType()
JaversException - GENERIC_TYPE_NOT_PARAMETRIZED