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
-
Method Summary
Methods inherited from class com.tangosol.util.AbstractKeyBasedMap.KeySet
clear, contains, isEmpty, iterator, remove, size
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
add, addAll, containsAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
removeAll
- Specified by:
removeAll
in interfaceCollection
- Specified by:
removeAll
in interfaceSet
- Overrides:
removeAll
in classAbstractSet
-