Class UnifiedSet.UnifiedUnsortedSetBatch
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
-
- org.eclipse.collections.impl.set.mutable.UnifiedSet.UnifiedUnsortedSetBatch
-
- All Implemented Interfaces:
Batch<T>
,RootBatch<T>
,RootUnsortedSetBatch<T>
,UnsortedSetBatch<T>
- Enclosing class:
- UnifiedSet<T>
private final class UnifiedSet.UnifiedUnsortedSetBatch extends AbstractBatch<T> implements RootUnsortedSetBatch<T>
-
-
Field Summary
Fields Modifier and Type Field Description private int
chunkEndIndex
private int
chunkStartIndex
-
Constructor Summary
Constructors Modifier Constructor Description private
UnifiedUnsortedSetBatch(int chunkStartIndex, int chunkEndIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(Predicate<? super T> predicate)
boolean
anySatisfy(Predicate<? super T> predicate)
<V> UnsortedBagBatch<V>
collect(Function<? super T,? extends V> function)
T
detect(Predicate<? super T> predicate)
<V> UnsortedBagBatch<V>
flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
void
forEach(Procedure<? super T> procedure)
UnsortedSetBatch<T>
select(Predicate<? super T> predicate)
-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractBatch
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.impl.lazy.parallel.Batch
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
-
-
-
Method Detail
-
anySatisfy
public boolean anySatisfy(Predicate<? super T> predicate)
- Specified by:
anySatisfy
in interfaceRootBatch<T>
-
allSatisfy
public boolean allSatisfy(Predicate<? super T> predicate)
- Specified by:
allSatisfy
in interfaceRootBatch<T>
-
select
public UnsortedSetBatch<T> select(Predicate<? super T> predicate)
-
collect
public <V> UnsortedBagBatch<V> collect(Function<? super T,? extends V> function)
-
flatCollect
public <V> UnsortedBagBatch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
flatCollect
in interfaceBatch<T>
- Specified by:
flatCollect
in interfaceUnsortedSetBatch<T>
-
-