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 TypeMethodDescriptionvoidbatchForEach(Procedure<? super V> procedure, int sectionIndex, int sectionCount) private voidchainedAddToList(Object[] chain, MutableList<V> replace) voidclear()booleanbooleancontainsAll(Collection<?> collection) protected voidcopyValues(Object[] result) voidintgetBatchCount(int batchSize) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] result) toString()protected ObjectMethods inherited from class AbstractMutableMap.ValuesCollectionCommon
add, addAllMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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:
clearin interfaceCollection<V>
-
contains
- Specified by:
containsin interfaceCollection<V>
-
containsAll
- Specified by:
containsAllin interfaceCollection<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<V>
-
iterator
-
remove
- Specified by:
removein interfaceCollection<V>
-
removeAll
- Specified by:
removeAllin interfaceCollection<V>
-
retainAll
- Specified by:
retainAllin interfaceCollection<V>
-
size
public int size()- Specified by:
sizein interfaceBatchIterable<V>- Specified by:
sizein interfaceCollection<V>
-
forEach
- Specified by:
forEachin interfaceBatchIterable<V>
-
getBatchCount
public int getBatchCount(int batchSize) - Specified by:
getBatchCountin interfaceBatchIterable<V>
-
batchForEach
- Specified by:
batchForEachin interfaceBatchIterable<V>
-
copyValues
-
toArray
- Specified by:
toArrayin interfaceCollection<V>
-
toArray
public <T> T[] toArray(T[] result) - Specified by:
toArrayin interfaceCollection<V>
-
writeReplace
-
chainedAddToList
-
toString
-