public class FlatCollectUnsortedBagBatch<T,V> extends AbstractBatch<V> implements UnsortedBagBatch<V>
Constructor and Description |
---|
FlatCollectUnsortedBagBatch(Batch<T> unsortedBagBatch,
Function<? super T,? extends Iterable<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, sumOfLong
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
public 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–2016. All rights reserved.