Package com.tangosol.net.partition
Class PartitionSplittingBackingMap.KeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<K>
-
- com.tangosol.util.AbstractKeyBasedMap.KeySet
-
- com.tangosol.net.partition.PartitionSplittingBackingMap.KeySet
-
- All Implemented Interfaces:
Iterable
,Collection
,Set
- Enclosing class:
- PartitionSplittingBackingMap
protected class PartitionSplittingBackingMap.KeySet extends AbstractKeyBasedMap.KeySet
A KeySet implementation optimized for PartitionSplittingBackingMap.The default implementation of
removeAll
determines the smaller collection to walk, which involves a call toAbstractKeyBasedMap.KeySet.size()
; this is highly inefficient for PartitionSplittingBackingMap.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
removeAll(Collection coll)
-
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
-
-
-
-
Method Detail
-
removeAll
public boolean removeAll(Collection coll)
- Specified by:
removeAll
in interfaceCollection
- Specified by:
removeAll
in interfaceSet
- Overrides:
removeAll
in classAbstractSet
-
-