Batch<T>, UnsortedSetBatch<T>public class DistinctBatch<T> extends AbstractBatch<T> implements UnsortedSetBatch<T>
| Constructor | Description |
|---|---|
DistinctBatch(Batch<T> batch,
ConcurrentHashMap<T,Boolean> distinct) |
| 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) |
|
void |
forEach(Procedure<? super T> procedure) |
|
UnsortedSetBatch<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 DistinctBatch(Batch<T> batch, ConcurrentHashMap<T,Boolean> distinct)
public UnsortedSetBatch<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 Iterable<V>> function)
flatCollect in interface Batch<T>flatCollect in interface UnsortedSetBatch<T>Copyright © 2004–2019. All rights reserved.