Batch<T>
, ListBatch<T>
, RootListBatch<T>
, OrderedBatch<T>
, RootBatch<T>
public class ListIterableBatch<T> extends AbstractBatch<T> implements RootListBatch<T>
Constructor | Description |
---|---|
ListIterableBatch(ListIterable<T> list,
int chunkStartIndex,
int chunkEndIndex) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allSatisfy(Predicate<? super T> predicate) |
|
boolean |
anySatisfy(Predicate<? super T> predicate) |
|
<V> ListBatch<V> |
collect(Function<? super T,? extends V> function) |
|
int |
count(Predicate<? super T> predicate) |
|
T |
detect(Predicate<? super T> predicate) |
|
UnsortedSetBatch<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) |
|
ListBatch<T> |
select(Predicate<? super T> predicate) |
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
makeString, max, maxBy, min, minBy, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong
public ListIterableBatch(ListIterable<T> list, int chunkStartIndex, int chunkEndIndex)
public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy
in interface RootBatch<T>
public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy
in interface RootBatch<T>
public <V> ListBatch<V> flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
flatCollect
in interface Batch<T>
flatCollect
in interface OrderedBatch<T>
public UnsortedSetBatch<T> distinct(ConcurrentHashMap<T,java.lang.Boolean> distinct)
Copyright © 2004–2017. All rights reserved.