Package org.apache.juneau.internal
Class FilteredMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apache.juneau.internal.FilteredMap<K,V>
- Type Parameters:
K
- The key class type.V
- The value class type.
Wrapper around a map where the key names are overridden.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
FilteredMap
Constructor.- Parameters:
classMeta
- The class type of the map being wrapped.innerMap
- The map being wrapped. Must not benull .keys
- The keys in the new map. Must not benull .
-
-
Method Details
-
entrySet
-
getClassMeta
Description copied from interface:Delegate
TheClassMeta
of the class of the represented object.- Specified by:
getClassMeta
in interfaceDelegate<K>
- Returns:
- The class type of the represented object.
-