Package com.tangosol.io.pof
Class PofHelper.WriteableEntrySetMap
java.lang.Object
java.util.AbstractMap
com.tangosol.io.pof.PofHelper.WriteableEntrySetMap
- All Implemented Interfaces:
- Map
- Enclosing class:
- PofHelper
Immutable Map implementation backed by a Set of Map.Entry objects.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> 
- 
Constructor SummaryConstructorsConstructorDescriptionWriteableEntrySetMap(Map.Entry entry) Construct a new WriteableEntrySetMap that is backed by a single Map.Entry object.WriteableEntrySetMap(Set setEntries) Construct a new WriteableEntrySetMap that is backed by the given Set of Map.Entry objects.
- 
Method SummaryMethods inherited from class java.util.AbstractMapclear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
WriteableEntrySetMapConstruct a new WriteableEntrySetMap that is backed by a single Map.Entry object.- Parameters:
- entry- the single Map.Entry in the new WriteableEntrySetMap
 
- 
WriteableEntrySetMapConstruct a new WriteableEntrySetMap that is backed by the given Set of Map.Entry objects.- Parameters:
- setEntries- a Set of Map.Entry objects in the new WriteableEntrySetMap
 
 
- 
- 
Method Details- 
entrySetReturns a set view of the mappings contained in this map. Each element in the returned set is a Map.Entry. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. If the map is modified while an iteration over the set is in progress, the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll and clear operations. It does not support the add or addAll operations.- Specified by:
- entrySetin interface- Map
- Specified by:
- entrySetin class- AbstractMap
- Returns:
- a set view of the mappings contained in this map.
 
 
-