public static interface CollectionService.IterationController
Modifier and Type | Field and Description |
---|---|
static CollectionService.IterationController |
PARALLEL
A parallel
iteration controller allowing parallel traversal over all the
collection elements. |
static CollectionService.IterationController |
SEQUENTIAL
A sequential
iteration controller over all the collection elements in the normal
iterative order. |
Modifier and Type | Method and Description |
---|---|
boolean |
doReversed()
Indicates if the iterations should be performed in reversed order.
|
boolean |
doSequential()
Indicates if the iterations should be performed sequentially.
|
boolean |
isTerminated()
Indicates if the iterations should be terminated; this method is
always called after the
consumer
accept method. |
static final CollectionService.IterationController SEQUENTIAL
iteration controller
over all the collection elements in the normal
iterative order.static final CollectionService.IterationController PARALLEL
iteration controller
allowing parallel traversal over all the
collection elements.boolean doReversed()
boolean doSequential()
boolean isTerminated()
consumer
accept
method.Copyright © 2005-2013 Javolution. All Rights Reserved.