Package org.apache.juneau.internal
Class DelegateMap<T extends Map>
java.lang.Object
java.util.AbstractMap<K,V>
 
java.util.HashMap<K,V>
 
java.util.LinkedHashMap<String,Object>
 
org.apache.juneau.collections.JsonMap
org.apache.juneau.internal.DelegateMap<T>
- Type Parameters:
- T- The class type of the wrapped bean.
Represents a wrapped 
Map where entries in the map can be removed without affecting the underlying map.
 See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfilterKeys(List<String> keys) Remove all but the specified keys from this map.TheClassMetaof the class of the represented object.Methods inherited from class org.apache.juneau.collections.JsonMapappend, append, appendFirst, appendIf, appendIf, appendIfAbsent, appendIfAbsentIf, asJson, asReadableString, asString, asString, cast, cast, containsKey, containsKeyNotEmpty, containsOuterKey, create, deleteAt, entrySet, exclude, filtered, filtered, filteredMap, filteredMap, find, find, findBoolean, findInt, findKeyIgnoreCase, findList, findLong, findMap, findString, get, get, get, getAt, getAt, getBeanSession, getBoolean, getBoolean, getClassMeta, getFirstKey, getInt, getInt, getList, getList, getList, getList, getLong, getLong, getMap, getMap, getMap, getMap, getString, getString, getStringArray, getStringArray, getSwapped, getWithDefault, getWithDefault, getWithDefault, include, inner, isUnmodifiable, keepAll, keySet, modifiable, of, of, ofJson, ofJson, ofText, ofText, postAt, put, putAt, putJson, removeAll, removeAll, removeBoolean, removeBoolean, removeInt, removeInt, removeString, removeString, removeWithDefault, session, setBeanSession, toString, unmodifiable, writeToMethods inherited from class java.util.LinkedHashMapclear, containsValue, forEach, getOrDefault, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMapclone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMapequals, hashCodeMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
- 
Constructor Details- 
DelegateMapConstructor.- Parameters:
- m- The metadata object that created this delegate object.
- session- The current bean session.
 
 
- 
- 
Method Details- 
getClassMetaDescription copied from interface:DelegateTheClassMetaof the class of the represented object.- Specified by:
- getClassMetain interface- Delegate<T extends Map>
- Returns:
- The class type of the represented object.
 
- 
filterKeysRemove all but the specified keys from this map.This does not affect the underlying map. - Parameters:
- keys- The remaining keys in the map (in the specified order).
- Returns:
- This object.
 
 
-