Class UnifiedMapWithHashingStrategy.KeySet
java.lang.Object
org.eclipse.collections.impl.map.strategy.mutable.UnifiedMapWithHashingStrategy.KeySet
- All Implemented Interfaces:
Serializable, Iterable<K>, Collection<K>, Set<K>, BatchIterable<K>
- Enclosing class:
UnifiedMapWithHashingStrategy<K,V>
protected class UnifiedMapWithHashingStrategy.KeySet
extends Object
implements Set<K>, Serializable, BatchIterable<K>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends K> collection) voidbatchForEach(Procedure<? super K> procedure, int sectionIndex, int sectionCount) private voidchainedAddToSet(Object[] chain, MutableSet<K> replace) voidclear()booleanbooleancontainsAll(Collection<?> collection) protected voidbooleanvoidvoidintgetBatchCount(int batchSize) inthashCode()booleanisEmpty()iterator()voidputIfFound(Object key, Map<K, V> other) private voidbooleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] result) toString()protected ObjectMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
add
-
addAll
-
clear
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceSet<K>
-
isEmpty
-
iterator
-
remove
-
removeAll
-
putIfFound
-
putIfFoundFromChain
-
retainAll
-
size
public int size()- Specified by:
sizein interfaceBatchIterable<K>- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceSet<K>
-
forEach
-
forEach
- Specified by:
forEachin interfaceBatchIterable<K>
-
getBatchCount
public int getBatchCount(int batchSize) - Specified by:
getBatchCountin interfaceBatchIterable<K>
-
batchForEach
- Specified by:
batchForEachin interfaceBatchIterable<K>
-
copyKeys
-
equals
-
hashCode
-
toString
-
toArray
-
toArray
-
writeReplace
-
chainedAddToSet
-