Class UnifiedMapWithHashingStrategy.EntrySet
java.lang.Object
org.eclipse.collections.impl.map.strategy.mutable.UnifiedMapWithHashingStrategy.EntrySet
- All Implemented Interfaces:
Serializable, Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K, V>>, Set<Map.Entry<K, V>>, BatchIterable<Map.Entry<K, V>>
- Enclosing class:
UnifiedMapWithHashingStrategy<K,V>
protected class UnifiedMapWithHashingStrategy.EntrySet
extends Object
implements Set<Map.Entry<K,V>>, Serializable, BatchIterable<Map.Entry<K,V>>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate WeakReference<UnifiedMapWithHashingStrategy<K, V>> private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Map.Entry<K, V>> collection) voidbatchForEach(Procedure<? super Map.Entry<K, V>> procedure, int sectionIndex, int sectionCount) private voidchainGetEntry(Object[] chain, K key, V value) voidclear()booleanbooleancontainsAll(Collection<?> collection) booleancontainsEntry(Map.Entry<?, ?> entry) protected voidcopyEntries(Object[] result) booleanvoidvoidintgetBatchCount(int batchSize) inthashCode()booleanisEmpty()iterator()private voidbooleanbooleanremoveAll(Collection<?> collection) private booleanremoveFromChain(Object[] chain, K key, V value, int index) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] result) toString()Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
holder
-
-
Constructor Details
-
EntrySet
protected EntrySet()
-
-
Method Details
-
forEach
-
add
-
addAll
-
clear
-
containsEntry
-
getEntry
-
chainGetEntry
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<Map.Entry<K,V>> - Specified by:
containsAllin interfaceSet<Map.Entry<K,V>>
-
isEmpty
-
iterator
-
remove
-
removeFromChain
-
removeAll
-
retainAll
-
size
-
forEach
-
chainedForEachEntry
-
getBatchCount
public int getBatchCount(int batchSize) - Specified by:
getBatchCountin interfaceBatchIterable<Map.Entry<K,V>>
-
batchForEach
public void batchForEach(Procedure<? super Map.Entry<K, V>> procedure, int sectionIndex, int sectionCount) - Specified by:
batchForEachin interfaceBatchIterable<Map.Entry<K,V>>
-
copyEntries
-
toArray
-
toArray
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
equals
-
hashCode
-
toString
-