Package org.apache.juneau.internal
Class FilteredKeyMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apache.juneau.internal.FilteredKeyMap<K,V>
- Type Parameters:
K- The key class type.V- The value class type.
Wrapper around a map where the key names are overridden.
-
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
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
FilteredKeyMap
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:DelegateTheClassMetaof the class of the represented object.- Specified by:
getClassMetain interfaceDelegate<K>- Returns:
- The class type of the represented object.
-