public class GuidedParIterator<E> extends DynamicParIterator<E>
ParIterator.SchedulelocalIteratorchunkSize, collection, data, exceptions, flags, ignoreBarrier, latch, numOfThreads, reclaimedElements, threadIDDEFAULT_CHUNKSIZE| Constructor and Description |
|---|
GuidedParIterator(java.util.Collection<E> collection,
int chunkSize,
int numOfThreads,
boolean ignoreBarrier) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Iterator<java.util.List<E>> |
partition(java.util.Collection<E> collection,
int minChunkSize,
int numOfThreads) |
forEachRemaining, hasNext, localBreak, next, resetallOtherThreadsHaveLocalBreaked, getAllExceptions, getID, globalBreak, register, register, removepublic GuidedParIterator(java.util.Collection<E> collection, int chunkSize, int numOfThreads, boolean ignoreBarrier)
protected java.util.Iterator<java.util.List<E>> partition(java.util.Collection<E> collection, int minChunkSize, int numOfThreads)
partition in class DynamicParIterator<E>