Class AbstractIterableGetMapDecorator<K,V>
java.lang.Object
org.apache.commons.collections4.splitmap.AbstractIterableGetMapDecorator<K,V>
- Type Parameters:
K- the type of the keys in this mapV- the type of the values in this map
- All Implemented Interfaces:
Get<K,,V> IterableGet<K,V>
- Direct Known Subclasses:
TransformedSplitMap
- Since:
- 4.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor only used in deserialization, do not use otherwise.AbstractIterableGetMapDecorator(Map<K, V> map) Create a new AbstractSplitMapDecorator. -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) Tests for presence of a given key.booleancontainsValue(Object value) Tests for presence of a given value.Gets the map being decorated.entrySet()Gets a set view of the mappings contained in this map.booleanGets a value at a given key.inthashCode()booleanisEmpty()Tests whether this instance contains any key-value mappings.keySet()Gets a view of the keys contained in this map.Gets a MapIterator over this Get.Remove a key-value mappings.intsize()Gets the number of key-value mappings in this map.toString()values()Gets a a collection view of the values contained in this map.
-
Constructor Details
-
AbstractIterableGetMapDecorator
protected AbstractIterableGetMapDecorator()Constructor only used in deserialization, do not use otherwise. -
AbstractIterableGetMapDecorator
Create a new AbstractSplitMapDecorator.- Parameters:
map- the map to decorate, must not be null- Throws:
NullPointerException- if map is null
-
-
Method Details
-
containsKey
Description copied from interface:GetTests for presence of a given key.- Specified by:
containsKeyin interfaceGet<K,V> - Parameters:
key- key whose presence in this map is to be tested- Returns:
trueif this map contains a mapping for the specified key- See Also:
-
containsValue
Description copied from interface:GetTests for presence of a given value.- Specified by:
containsValuein interfaceGet<K,V> - Parameters:
value- value whose presence in this map is to be tested- Returns:
trueif this map maps one or more keys to the specified value- See Also:
-
decorated
-
entrySet
-
equals
-
get
Description copied from interface:GetGets a value at a given key. -
hashCode
-
isEmpty
-
keySet
-
mapIterator
Gets a MapIterator over this Get.- Specified by:
mapIteratorin interfaceIterableGet<K,V> - Returns:
- MapIterator<K, V>
-
remove
Description copied from interface:GetRemove a key-value mappings. -
size
-
toString
-
values
-