Class SelectUnsortedSetBatch<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
-
- org.eclipse.collections.impl.lazy.parallel.set.SelectUnsortedSetBatch<T>
-
- All Implemented Interfaces:
Batch<T>
,UnsortedSetBatch<T>
public class SelectUnsortedSetBatch<T> extends AbstractBatch<T> implements UnsortedSetBatch<T>
-
-
Field Summary
Fields Modifier and Type Field Description private Predicate<? super T>
predicate
private UnsortedSetBatch<T>
unsortedSetBatch
-
Constructor Summary
Constructors Constructor Description SelectUnsortedSetBatch(UnsortedSetBatch<T> unsortedSetBatch, Predicate<? super T> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> UnsortedBagBatch<V>
collect(Function<? super T,? extends V> function)
<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
-
-
-
-
Field Detail
-
unsortedSetBatch
private final UnsortedSetBatch<T> unsortedSetBatch
-
-
Constructor Detail
-
SelectUnsortedSetBatch
public SelectUnsortedSetBatch(UnsortedSetBatch<T> unsortedSetBatch, Predicate<? super T> predicate)
-
-
Method Detail
-
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>
-
-