Class SelectSortedSetBatch<T>
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
-
- org.eclipse.collections.impl.lazy.parallel.set.sorted.SelectSortedSetBatch<T>
-
- All Implemented Interfaces:
Batch<T>
,OrderedBatch<T>
,SortedSetBatch<T>
public class SelectSortedSetBatch<T> extends AbstractBatch<T> implements SortedSetBatch<T>
-
-
Field Summary
Fields Modifier and Type Field Description private Predicate<? super T>
predicate
private SortedSetBatch<T>
sortedSetBatch
-
Constructor Summary
Constructors Constructor Description SelectSortedSetBatch(SortedSetBatch<T> sortedSetBatch, Predicate<? super T> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ListBatch<V>
collect(Function<? super T,? extends V> function)
SortedSetBatch<T>
distinct(ConcurrentHashMap<T,java.lang.Boolean> distinct)
<V> ListBatch<V>
flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
void
forEach(Procedure<? super T> procedure)
SortedSetBatch<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
clone, equals, finalize, 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
-
-
-
-
Field Detail
-
sortedSetBatch
private final SortedSetBatch<T> sortedSetBatch
-
-
Constructor Detail
-
SelectSortedSetBatch
public SelectSortedSetBatch(SortedSetBatch<T> sortedSetBatch, Predicate<? super T> predicate)
-
-
Method Detail
-
select
public SortedSetBatch<T> select(Predicate<? super T> predicate)
- Specified by:
select
in interfaceBatch<T>
- Specified by:
select
in interfaceOrderedBatch<T>
- Specified by:
select
in interfaceSortedSetBatch<T>
-
flatCollect
public <V> ListBatch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
- Specified by:
flatCollect
in interfaceBatch<T>
- Specified by:
flatCollect
in interfaceOrderedBatch<T>
-
distinct
public SortedSetBatch<T> distinct(ConcurrentHashMap<T,java.lang.Boolean> distinct)
- Specified by:
distinct
in interfaceOrderedBatch<T>
- Specified by:
distinct
in interfaceSortedSetBatch<T>
-
-