UnsortedBagBatch<T>, Batch<T>public class SelectUnsortedBagBatch<T> extends AbstractBatch<T> implements UnsortedBagBatch<T>
| Constructor | Description |
|---|---|
SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch,
Predicate<? super T> predicate) |
| 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) |
|
void |
forEachWithOccurrences(ObjectIntProcedure<? super T> procedure) |
|
UnsortedBagBatch<T> |
select(Predicate<? super T> predicate) |
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLongcount, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLongpublic SelectUnsortedBagBatch(UnsortedBagBatch<T> unsortedBagBatch, Predicate<? super T> predicate)
public void forEachWithOccurrences(ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences in interface UnsortedBagBatch<T>public UnsortedBagBatch<T> select(Predicate<? super T> predicate)
public <V> UnsortedBagBatch<V> collect(Function<? super T,? extends V> function)
public <V> UnsortedBagBatch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
flatCollect in interface Batch<T>flatCollect in interface UnsortedBagBatch<T>Copyright © 2004–2017. All rights reserved.