public class DistinctBatch<T> extends AbstractBatch<T> implements UnsortedSetBatch<T>
| Constructor and Description |
|---|
DistinctBatch(Batch<T> batch,
ConcurrentHashMap<T,java.lang.Boolean> distinct) |
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedSetBatch<V> |
collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
void |
forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure) |
UnsortedSetBatch<T> |
select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate) |
count, makeStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, makeStringpublic DistinctBatch(Batch<T> batch, ConcurrentHashMap<T,java.lang.Boolean> distinct)
public void forEach(com.gs.collections.api.block.procedure.Procedure<? super T> procedure)
public UnsortedSetBatch<T> select(com.gs.collections.api.block.predicate.Predicate<? super T> predicate)
public <V> UnsortedSetBatch<V> collect(com.gs.collections.api.block.function.Function<? super T,? extends V> function)