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>
public class ListIterableBatch<T> extends AbstractBatch<T> implements RootListBatch<T>
-
-
Constructor Summary
Constructors Constructor Description ListIterableBatch(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallSatisfy(Predicate<? super T> predicate)booleananySatisfy(Predicate<? super T> predicate)<V> ListBatch<V>collect(Function<? super T,? extends V> function)intcount(Predicate<? super T> predicate)Tdetect(Predicate<? super T> predicate)UnsortedSetBatch<T>distinct(ConcurrentHashMap<T,Boolean> distinct)<V> ListBatch<V>flatCollect(Function<? super T,? extends Iterable<V>> function)voidforEach(Procedure<? super T> procedure)ListBatch<T>select(Predicate<? super T> predicate)-
Methods inherited from class org.eclipse.collections.impl.lazy.parallel.AbstractBatch
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
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
-
-
-
-
Constructor Detail
-
ListIterableBatch
public ListIterableBatch(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex)
-
-
Method Detail
-
anySatisfy
public boolean anySatisfy(Predicate<? super T> predicate)
- Specified by:
anySatisfyin interfaceRootBatch<T>
-
allSatisfy
public boolean allSatisfy(Predicate<? super T> predicate)
- Specified by:
allSatisfyin interfaceRootBatch<T>
-
flatCollect
public <V> ListBatch<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceBatch<T>- Specified by:
flatCollectin interfaceOrderedBatch<T>
-
distinct
public UnsortedSetBatch<T> distinct(ConcurrentHashMap<T,Boolean> distinct)
-
-