public class CollectUnsortedSetBatch<T,V> extends AbstractBatch<V> implements UnsortedSetBatch<V>
Constructor and Description |
---|
CollectUnsortedSetBatch(UnsortedSetBatch<T> unsortedSetBatch,
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) |
UnsortedSetBatch<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 CollectUnsortedSetBatch(UnsortedSetBatch<T> unsortedSetBatch, Function<? super T,? extends V> function)
public UnsortedSetBatch<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 Batch<V>
flatCollect
in interface UnsortedSetBatch<V>
Copyright © 2004–2016. All rights reserved.