public class MapType extends KeyValueType
DEFAULT_TYPE_PARAMETER| Constructor | Description |
|---|---|
MapType(java.lang.reflect.Type baseJavaType) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBePrototype() |
|
java.lang.Object |
empty() |
|
java.lang.Class |
getBaseJavaClass() |
|
protected java.lang.reflect.Type |
getRawDehydratedType() |
Type for JSON representation.
|
boolean |
isEmpty(java.lang.Object map) |
|
boolean |
isInstance(java.lang.Object cdo) |
|
java.lang.Object |
map(java.lang.Object sourceEnumerable,
java.util.function.Function mapFunction) |
Nulls keys are filtered
|
java.lang.Object |
map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner) |
OwnerContext aware version of
EnumerableType.map(Object, EnumerableFunction, OwnerContext) |
static void |
mapEntrySet(java.util.Collection<java.util.Map.Entry<?,?>> sourceEntries,
EnumerableFunction mapFunction,
MapEnumerationOwnerContext mapEnumerationContext,
java.util.function.BiConsumer entryConsumer) |
|
static void |
mapEntrySetFilterNulls(java.util.Collection<java.util.Map.Entry<?,?>> sourceEntries,
java.util.function.Function mapFunction,
java.util.function.BiConsumer entryConsumer) |
|
static java.util.Map |
mapStatic(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner) |
equals, equals, getBaseJavaType, getConcreteClassTypeArguments, getName, hashCode, isGenericType, prettyPrint, prettyPrintBuilder, toStringgetKeyType, getValueTypepublic java.lang.Object map(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
EnumerableTypeEnumerableType.map(Object, EnumerableFunction, OwnerContext)map in class EnumerableTypepublic static java.util.Map mapStatic(java.lang.Object sourceEnumerable,
EnumerableFunction mapFunction,
OwnerContext owner)
public java.lang.Object map(java.lang.Object sourceEnumerable,
java.util.function.Function mapFunction)
map in class EnumerableTypepublic boolean isEmpty(java.lang.Object map)
isEmpty in class EnumerableTypepublic static void mapEntrySet(java.util.Collection<java.util.Map.Entry<?,?>> sourceEntries,
EnumerableFunction mapFunction,
MapEnumerationOwnerContext mapEnumerationContext,
java.util.function.BiConsumer entryConsumer)
public static void mapEntrySetFilterNulls(java.util.Collection<java.util.Map.Entry<?,?>> sourceEntries,
java.util.function.Function mapFunction,
java.util.function.BiConsumer entryConsumer)
public java.lang.Object empty()
empty in class EnumerableTypepublic boolean canBePrototype()
canBePrototype in class JaversTypepublic boolean isInstance(java.lang.Object cdo)
isInstance in class JaversTypeprotected java.lang.reflect.Type getRawDehydratedType()
public java.lang.Class getBaseJavaClass()