Class UnifiedMap.EntrySet
java.lang.Object
org.eclipse.collections.impl.map.mutable.UnifiedMap.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:
UnifiedMap<K,
V>
protected class UnifiedMap.EntrySet
extends Object
implements Set<Map.Entry<K,V>>, Serializable, BatchIterable<Map.Entry<K,V>>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate WeakReference
<UnifiedMap<K, V>> private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends Map.Entry<K, V>> collection) void
batchForEach
(Procedure<? super Map.Entry<K, V>> procedure, int sectionIndex, int sectionCount) private void
chainGetEntry
(Object[] chain, K key, V value) void
clear()
boolean
boolean
containsAll
(Collection<?> collection) boolean
containsEntry
(Map.Entry<?, ?> entry) protected void
copyEntries
(Object[] result) boolean
void
int
getBatchCount
(int batchSize) int
hashCode()
boolean
isEmpty()
iterator()
private void
boolean
boolean
removeAll
(Collection<?> collection) private boolean
removeFromChain
(Object[] chain, K key, V value, int index) boolean
retainAll
(Collection<?> collection) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] result) 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
spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
holder
-
-
Constructor Details
-
EntrySet
protected EntrySet()
-
-
Method Details
-
add
-
addAll
-
clear
public void clear() -
containsEntry
-
getEntry
-
chainGetEntry
-
contains
-
containsAll
- Specified by:
containsAll
in interfaceCollection<Map.Entry<K,
V>> - Specified by:
containsAll
in interfaceSet<Map.Entry<K,
V>>
-
isEmpty
public boolean isEmpty() -
iterator
-
remove
-
removeFromChain
-
removeAll
-
retainAll
-
size
public int size() -
forEach
- Specified by:
forEach
in interfaceBatchIterable<Map.Entry<K,
V>>
-
chainedForEachEntry
-
getBatchCount
public int getBatchCount(int batchSize) - Specified by:
getBatchCount
in interfaceBatchIterable<Map.Entry<K,
V>>
-
batchForEach
public void batchForEach(Procedure<? super Map.Entry<K, V>> procedure, int sectionIndex, int sectionCount) - Specified by:
batchForEach
in interfaceBatchIterable<Map.Entry<K,
V>>
-
copyEntries
-
toArray
-
toArray
public <T> T[] toArray(T[] result) -
readObject
- Throws:
IOException
ClassNotFoundException
-
equals
-
hashCode
public int hashCode() -
toString
-