Class UnifiedMap.ValuesCollection
java.lang.Object
org.eclipse.collections.impl.map.mutable.AbstractMutableMap.ValuesCollectionCommon<V>
org.eclipse.collections.impl.map.mutable.UnifiedMap.ValuesCollection
- All Implemented Interfaces:
Serializable
,Iterable<V>
,Collection<V>
,BatchIterable<V>
- Enclosing class:
UnifiedMap<K,
V>
protected class UnifiedMap.ValuesCollection
extends AbstractMutableMap.ValuesCollectionCommon<V>
implements Serializable, BatchIterable<V>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
batchForEach
(Procedure<? super V> procedure, int sectionIndex, int sectionCount) private void
chainedAddToList
(Object[] chain, FastList<V> replace) void
clear()
boolean
boolean
containsAll
(Collection<?> collection) protected void
copyValues
(Object[] result) void
int
getBatchCount
(int batchSize) boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] result) toString()
protected Object
Methods inherited from class org.eclipse.collections.impl.map.mutable.AbstractMutableMap.ValuesCollectionCommon
add, addAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ValuesCollection
protected ValuesCollection()
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<V>
-
contains
- Specified by:
contains
in interfaceCollection<V>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<V>
-
iterator
-
remove
- Specified by:
remove
in interfaceCollection<V>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<V>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<V>
-
size
public int size()- Specified by:
size
in interfaceBatchIterable<V>
- Specified by:
size
in interfaceCollection<V>
-
forEach
- Specified by:
forEach
in interfaceBatchIterable<V>
-
getBatchCount
public int getBatchCount(int batchSize) - Specified by:
getBatchCount
in interfaceBatchIterable<V>
-
batchForEach
- Specified by:
batchForEach
in interfaceBatchIterable<V>
-
copyValues
-
toArray
- Specified by:
toArray
in interfaceCollection<V>
-
toArray
public <T> T[] toArray(T[] result) - Specified by:
toArray
in interfaceCollection<V>
-
writeReplace
-
chainedAddToList
-
toString
-