Package com.tangosol.net.partition
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.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.tangosol.util.AbstractKeyBasedMap.KeySet
clear, contains, isEmpty, iterator, remove, sizeMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
add, addAll, containsAll, retainAll, toArray, toArray, 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, toArray, toArray
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceSet- Overrides:
removeAllin classAbstractSet
-