T - The class type of the wrapped bean.public class DelegateMap<T extends Map> extends ObjectMap implements Delegate<T>
Map where entries in the map can be removed without affecting the underlying map.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DelegateMap(T m,
BeanSession session)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DelegateMap<T> |
filterKeys(List<String> keys)
Remove all but the specified keys from this map.
|
ClassMeta<T> |
getClassMeta()
The
ClassMeta of the class of the represented object. |
append, appendAll, appendIf, appendIf, appendSkipEmpty, appendSkipFalse, appendSkipMinusOne, appendSkipNull, cast, cast, containsKey, containsKeyNotEmpty, containsOuterKey, deleteAt, entrySet, exclude, find, find, findBoolean, findInt, findKeyIgnoreCase, findList, findLong, findMap, findObjectList, findObjectMap, findString, get, get, get, getAt, getAt, getBeanSession, getBoolean, getBoolean, getClassMeta, getFirstKey, getInt, getInt, getList, getList, getList, getLong, getLong, getMap, getMap, getMap, getObjectList, getObjectList, getObjectList, getObjectMap, getObjectMap, getObjectMap, getString, getString, getStringArray, getStringArray, getSwapped, getWithDefault, getWithDefault, getWithDefault, include, isUnmodifiable, keepAll, keySet, modifiable, parse, postAt, putAt, putIfEmpty, putIfNotExists, putIfNull, putJson, removeAll, removeAll, removeBoolean, removeBoolean, removeInt, removeInt, removeString, removeString, removeWithDefault, serializeTo, setBeanSession, setInner, toString, toString, unmodifiableclear, containsValue, forEach, getOrDefault, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCodepublic DelegateMap(T m, BeanSession session)
m - The metadata object that created this delegate object.session - The current bean session.public ClassMeta<T> getClassMeta()
DelegateClassMeta of the class of the represented object.getClassMeta in interface Delegate<T extends Map>public DelegateMap<T> filterKeys(List<String> keys)
This does not affect the underlying map.
keys - The remaining keys in the map (in the specified order).Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.