Package com.tangosol.util
Class OpenHashMap.EntrySet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Map.Entry<K,V>>
com.tangosol.util.AbstractKeyBasedMap.EntrySet
com.tangosol.util.OpenHashMap.EntrySet
- All Implemented Interfaces:
Iterable,Collection,Set
- Enclosing class:
- OpenHashMap<K,
V>
A set of entries backed by this map.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classAn Entry implementation that is augmented to allow an Entry instance to be re-used, which means that the same Entry instance can represent different map entries over time.protected classAn Iterator over the EntrySet that is backed by the Map. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tangosol.util.AbstractKeyBasedMap.EntrySet
clear, contains, isEmpty, iterator, remove, sizeMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, containsAll, retainAll, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, containsAll, retainAll, spliterator
-
Constructor Details
-
EntrySet
public EntrySet()
-
-
Method Details
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceSet- Overrides:
toArrayin classAbstractCollection
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceSet- Overrides:
toArrayin classAbstractCollection
-
instantiateEntry
Factory pattern. Create a Map Entry.- Overrides:
instantiateEntryin classAbstractKeyBasedMap.EntrySet- Parameters:
oKey- the Entry key (required)oValue- the Entry value (optional; lazy loaded if necessary)- Returns:
- a new instance of an Entry with the specified key and value (if one is provided)
-
instantiateIterator
Factory pattern.- Overrides:
instantiateIteratorin classAbstractKeyBasedMap.EntrySet- Returns:
- a new instance of an Iterator over the EntrySet
-