Package com.tangosol.util
Class EntrySetMap
- java.lang.Object
-
- java.util.AbstractMap
-
- com.tangosol.util.EntrySetMap
-
- All Implemented Interfaces:
Map
public class EntrySetMap extends AbstractMap
A trivial Map implementation that is based on a specified set of entries. This implementation does not support inserts or updates. Additionally, since almost every operation is implemented by iterating over the underlying entry set, this class is meant to be used only for iterations or small sets of data.- Since:
- Coherence 3.6
-
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Set
m_setEntries
The underlying set of Entry objects.
-
Constructor Summary
Constructors Constructor Description EntrySetMap(Set setEntries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set
entrySet()
-
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
-
-