Class ListIterableBatch<T>
java.lang.Object
org.eclipse.collections.impl.lazy.parallel.AbstractBatch<T>
org.eclipse.collections.impl.lazy.parallel.list.ListIterableBatch<T>
- All Implemented Interfaces:
Batch<T>, ListBatch<T>, RootListBatch<T>, OrderedBatch<T>, RootBatch<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final ListIterable<T> -
Constructor Summary
ConstructorsConstructorDescriptionListIterableBatch(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(Predicate<? super T> predicate) booleananySatisfy(Predicate<? super T> predicate) <V> ListBatch<V> intdistinct(ConcurrentHashMap<T, Boolean> distinct) <V> ListBatch<V> flatCollect(Function<? super T, ? extends Iterable<V>> function) voidMethods inherited from class AbstractBatch
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLongMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Batch
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
Field Details
-
list
-
chunkStartIndex
private final int chunkStartIndex -
chunkEndIndex
private final int chunkEndIndex
-
-
Constructor Details
-
ListIterableBatch
-
-
Method Details
-
forEach
-
count
-
anySatisfy
- Specified by:
anySatisfyin interfaceRootBatch<T>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRootBatch<T>
-
detect
-
select
-
collect
-
flatCollect
- Specified by:
flatCollectin interfaceBatch<T>- Specified by:
flatCollectin interfaceOrderedBatch<T>
-
distinct
-