public class CollectUnsortedBagBatch<T,V> extends AbstractBatch<V> implements UnsortedBagBatch<V>
| Constructor and Description |
|---|
CollectUnsortedBagBatch(Batch<T> unsortedBagBatch,
Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<VV> UnsortedBagBatch<VV> |
collect(Function<? super V,? extends VV> function) |
<V1> UnsortedBagBatch<V1> |
flatCollect(Function<? super V,? extends Iterable<V1>> function) |
void |
forEach(Procedure<? super V> procedure) |
void |
forEachWithOccurrences(ObjectIntProcedure<? super V> procedure) |
UnsortedBagBatch<V> |
select(Predicate<? super V> predicate) |
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLongequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLongpublic void forEachWithOccurrences(ObjectIntProcedure<? super V> procedure)
forEachWithOccurrences in interface UnsortedBagBatch<V>public UnsortedBagBatch<V> select(Predicate<? super V> predicate)
public <VV> UnsortedBagBatch<VV> collect(Function<? super V,? extends VV> function)
public <V1> UnsortedBagBatch<V1> flatCollect(Function<? super V,? extends Iterable<V1>> function)
flatCollect in interface UnsortedBagBatch<V>flatCollect in interface Batch<V>Copyright © 2004–2022. All rights reserved.