Class PartitionSplittingBackingMap.KeySet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
com.tangosol.util.AbstractKeyBasedMap.KeySet
com.tangosol.net.partition.PartitionSplittingBackingMap.KeySet
- All Implemented Interfaces:
Iterable, Collection, Set
- Enclosing class:
PartitionSplittingBackingMap
A KeySet implementation optimized for PartitionSplittingBackingMap.
The default implementation of removeAll
determines the smaller collection to walk, which involves a call to
AbstractKeyBasedMap.KeySet.size(); this is highly inefficient for PartitionSplittingBackingMap.
- Since:
- Coherence 3.5
- Author:
- cp 2008-11-20
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractKeyBasedMap.KeySet
clear, contains, isEmpty, iterator, remove, sizeMethods inherited from class AbstractSet
equals, hashCodeMethods inherited from class AbstractCollection
add, addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
add, addAll, containsAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceSet- Overrides:
removeAllin classAbstractSet
-