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