Package com.tangosol.util
Class EntrySetMap
java.lang.Object
java.util.AbstractMap
com.tangosol.util.EntrySetMap
- All Implemented Interfaces:
Map
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,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
-
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
-
Field Details
-
m_setEntries
The underlying set of Entry objects.
-
-
Constructor Details
-
EntrySetMap
-
-
Method Details
-
entrySet
- Specified by:
entrySet
in interfaceMap
- Specified by:
entrySet
in classAbstractMap
-