Class SelectUnsortedBagBatch<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
org.eclipse.collections.impl.lazy.parallel.bag.SelectUnsortedBagBatch<T>
- All Implemented Interfaces:
UnsortedBagBatch<T>,Batch<T>
public class SelectUnsortedBagBatch<T> extends AbstractBatch<T> implements UnsortedBagBatch<T>
-
Constructor Summary
Constructors Constructor Description SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch, Predicate<? super T> predicate) -
Method Summary
Modifier and Type Method Description <V> UnsortedBagBatch<V>collect(Function<? super T,? extends V> function)<V> UnsortedBagBatch<V>flatCollect(Function<? super T,? extends Iterable<V>> function)voidforEach(Procedure<? super T> procedure)voidforEachWithOccurrences(ObjectIntProcedure<? super T> procedure)UnsortedBagBatch<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, sumOfLongMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.collections.impl.lazy.parallel.Batch
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
Constructor Details
-
SelectUnsortedBagBatch
public SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch, Predicate<? super T> predicate)
-
-
Method Details
-
forEach
-
forEachWithOccurrences
- Specified by:
forEachWithOccurrencesin interfaceUnsortedBagBatch<T>
-
select
-
collect
-
flatCollect
- Specified by:
flatCollectin interfaceBatch<T>- Specified by:
flatCollectin interfaceUnsortedBagBatch<T>
-