Class UnifiedMapWithHashingStrategy.ValuesCollection
- java.lang.Object
-
- org.eclipse.collections.impl.map.mutable.AbstractMutableMap.ValuesCollectionCommon<V>
-
- org.eclipse.collections.impl.map.strategy.mutable.UnifiedMapWithHashingStrategy.ValuesCollection
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<V>,java.util.Collection<V>,BatchIterable<V>
- Enclosing class:
- UnifiedMapWithHashingStrategy<K,V>
protected class UnifiedMapWithHashingStrategy.ValuesCollection extends AbstractMutableMap.ValuesCollectionCommon<V> implements java.io.Serializable, BatchIterable<V>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedValuesCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbatchForEach(Procedure<? super V> procedure, int sectionIndex, int sectionCount)private voidchainedAddToList(java.lang.Object[] chain, MutableList<V> replace)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> collection)protected voidcopyValues(java.lang.Object[] result)voidforEach(Procedure<? super V> procedure)intgetBatchCount(int batchSize)booleanisEmpty()java.util.Iterator<V>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> collection)booleanretainAll(java.util.Collection<?> collection)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] result)java.lang.StringtoString()protected java.lang.ObjectwriteReplace()-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection<V>
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
containsin interfacejava.util.Collection<V>
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
- Specified by:
containsAllin interfacejava.util.Collection<V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Collection<V>
-
iterator
public java.util.Iterator<V> iterator()
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection<V>
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
- Specified by:
removeAllin interfacejava.util.Collection<V>
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
- Specified by:
retainAllin interfacejava.util.Collection<V>
-
size
public int size()
- Specified by:
sizein interfaceBatchIterable<V>- Specified by:
sizein interfacejava.util.Collection<V>
-
forEach
public void forEach(Procedure<? super V> procedure)
- Specified by:
forEachin interfaceBatchIterable<V>
-
getBatchCount
public int getBatchCount(int batchSize)
- Specified by:
getBatchCountin interfaceBatchIterable<V>
-
batchForEach
public void batchForEach(Procedure<? super V> procedure, int sectionIndex, int sectionCount)
- Specified by:
batchForEachin interfaceBatchIterable<V>
-
copyValues
protected void copyValues(java.lang.Object[] result)
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArrayin interfacejava.util.Collection<V>
-
toArray
public <T> T[] toArray(T[] result)
- Specified by:
toArrayin interfacejava.util.Collection<V>
-
writeReplace
protected java.lang.Object writeReplace()
-
chainedAddToList
private void chainedAddToList(java.lang.Object[] chain, MutableList<V> replace)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-