| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final ListIterable | |
| private final ExecutorService |
| Access | Constructor and Description |
|---|---|
| public | ListIterableParallelIterable(ListIterable<T> delegate, ExecutorService executorService, int batchSize)
|
| batchSize | back to summary |
|---|---|
| private final int batchSize | |
| delegate | back to summary |
|---|---|
| private final ListIterable<T> delegate | |
| executorService | back to summary |
|---|---|
| private final ExecutorService executorService | |
| ListIterableParallelIterable | back to summary |
|---|---|
| public ListIterableParallelIterable(ListIterable<T> delegate, ExecutorService executorService, int batchSize) | |
| allSatisfy | back to summary |
|---|---|
| public boolean allSatisfy(Predicate<? super T> predicate) Implements org.
| |
| anySatisfy | back to summary |
|---|---|
| public boolean anySatisfy(Predicate<? super T> predicate) Implements org.
| |
| detect | back to summary |
|---|---|
| public T detect(Predicate<? super T> predicate) Implements org.
| |
| forEach | back to summary |
|---|---|
| public void forEach(Procedure<? super T> procedure) Implements org.
| |
| getBatchSize | back to summary |
|---|---|
| public int getBatchSize() Implements abstract org.
| |
| getExecutorService | back to summary |
|---|---|
| public ExecutorService getExecutorService() Implements abstract org.
| |
| groupBy | back to summary |
|---|---|
| public <V> ListMultimap Overrides org. Implements org.
| |
| groupByEach | back to summary |
|---|---|
| public <V> ListMultimap Overrides org. Implements org.
| |
| groupByUniqueKey | back to summary |
|---|---|
| public <V> MapIterable Overrides org. Implements org.
| |
| split | back to summary |
|---|---|
| public LazyIterable Implements abstract org.
| |
| toArray | back to summary |
|---|---|
| public Object[] toArray() Overrides org. Overrides default org.
| |
| toArray | back to summary |
|---|---|
| public <E> E[] toArray(E[] array) Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public RootListBatch | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| chunkIndex | back to summary |
|---|---|
| protected int chunkIndex | |
| ListIterableParallelBatchIterator | back to summary |
|---|---|
| private ListIterableParallelBatchIterator() | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public RootListBatch Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | each(Procedure<? super RootListBatch<T>> procedure)
Implements org. The procedure is executed for each element in the iterable. |
| public Iterator |
| ListIterableParallelBatchLazyIterable | back to summary |
|---|---|
| private ListIterableParallelBatchLazyIterable() | |
| each | back to summary |
|---|---|
| public void each(Procedure<? super RootListBatch<T>> procedure) Implements org. Doc from org. The procedure is executed for each element in the iterable. Example using a Java 8 lambda expression: people.each(person -> LOGGER.info(person.getName()));This method is a variant of InternalIterable#forEach(Procedure)
that has a signature conflict with Iterable#forEach(java..
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |