Class DistinctBatch<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
org.eclipse.collections.impl.lazy.parallel.list.DistinctBatch<T>
- All Implemented Interfaces:
Batch<T>
,UnsortedSetBatch<T>
public class DistinctBatch<T> extends AbstractBatch<T> implements UnsortedSetBatch<T>
-
Constructor Summary
Constructors Constructor Description DistinctBatch(Batch<T> batch, ConcurrentHashMap<T,Boolean> distinct)
-
Method Summary
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)
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractBatch
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.collections.impl.lazy.parallel.Batch
count, makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
Constructor Details
-
Method Details
-
forEach
-
select
-
collect
-
flatCollect
- Specified by:
flatCollect
in interfaceBatch<T>
- Specified by:
flatCollect
in interfaceUnsortedSetBatch<T>
-