Class UnifiedMap.KeySet
java.lang.Object
org.eclipse.collections.impl.map.mutable.UnifiedMap.KeySet
- All Implemented Interfaces:
Serializable,Iterable<K>,Collection<K>,Set<K>,BatchIterable<K>
- Enclosing class:
UnifiedMap<K,V>
- 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 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
spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
add
-
addAll
-
clear
public void clear() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceSet<K>
-
isEmpty
public boolean 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
public int hashCode() -
toString
-
toArray
-
toArray
public <T> T[] toArray(T[] result) -
writeReplace
-
chainedAddToSet
-