public class GuidedParIterator<E> extends DynamicParIterator<E>
ParIterator.Schedule
localIterator
chunkSize, collection, data, exceptions, flags, ignoreBarrier, latch, numOfThreads, reclaimedElements, threadID
DEFAULT_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, reset
allOtherThreadsHaveLocalBreaked, getAllExceptions, getID, globalBreak, register, register, remove
public 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>