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 to AbstractKeyBasedMap.KeySet.size(); this is highly inefficient for PartitionSplittingBackingMap.