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:
java.io.Serializable
,java.lang.Iterable<V>
,java.util.Collection<V>
,BatchIterable<V>
- Enclosing class:
- UnifiedMap<K,V>
protected class UnifiedMap.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 long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValuesCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
batchForEach(Procedure<? super V> procedure, int sectionIndex, int sectionCount)
private void
chainedAddToList(java.lang.Object[] chain, FastList<V> replace)
void
clear()
boolean
contains(java.lang.Object o)
boolean
containsAll(java.util.Collection<?> collection)
protected void
copyValues(java.lang.Object[] result)
void
forEach(Procedure<? super V> procedure)
int
getBatchCount(int batchSize)
boolean
isEmpty()
java.util.Iterator<V>
iterator()
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> collection)
int
size()
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] result)
java.lang.String
toString()
protected java.lang.Object
writeReplace()
-
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:
clear
in interfacejava.util.Collection<V>
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interfacejava.util.Collection<V>
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
- Specified by:
containsAll
in interfacejava.util.Collection<V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Collection<V>
-
iterator
public java.util.Iterator<V> iterator()
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interfacejava.util.Collection<V>
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
- Specified by:
removeAll
in interfacejava.util.Collection<V>
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
- Specified by:
retainAll
in interfacejava.util.Collection<V>
-
size
public int size()
- Specified by:
size
in interfaceBatchIterable<V>
- Specified by:
size
in interfacejava.util.Collection<V>
-
forEach
public void forEach(Procedure<? super V> procedure)
- Specified by:
forEach
in interfaceBatchIterable<V>
-
getBatchCount
public int getBatchCount(int batchSize)
- Specified by:
getBatchCount
in interfaceBatchIterable<V>
-
batchForEach
public void batchForEach(Procedure<? super V> procedure, int sectionIndex, int sectionCount)
- Specified by:
batchForEach
in interfaceBatchIterable<V>
-
copyValues
protected void copyValues(java.lang.Object[] result)
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interfacejava.util.Collection<V>
-
toArray
public <T> T[] toArray(T[] result)
- Specified by:
toArray
in interfacejava.util.Collection<V>
-
writeReplace
protected java.lang.Object writeReplace()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-