|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsr166y.ForkJoinTask<java.lang.Void> jsr166y.RecursiveAction groovyx.gpars.extra166y.PAS.FJSelectAll
static final class PAS.FJSelectAll
SelectAll proceeds in two passes. In the first phase, indices of matching elements are recorded in indices array. In second pass, once the size of results is known and result array is constructed in driver, the matching elements are placed into corresponding result positions.
Field Summary | |
---|---|
(package private) int |
count
|
(package private) PAS.FJSelectAllDriver |
driver
|
(package private) int |
hi
|
(package private) boolean |
isInternal
|
(package private) PAS.FJSelectAll |
left
|
(package private) int |
lo
|
(package private) int |
offset
|
(package private) PAS.FJSelectAll |
right
|
(package private) int |
threshold
|
Constructor Summary | |
---|---|
PAS.FJSelectAll(PAS.FJSelectAllDriver driver,
int lo,
int hi)
|
Method Summary | |
---|---|
void |
compute()
|
(package private) void |
internalPhase0()
|
(package private) void |
internalPhase1()
|
Methods inherited from class jsr166y.RecursiveAction |
---|
exec, getRawResult, setRawResult |
Methods inherited from class jsr166y.ForkJoinTask |
---|
adapt, adapt, adapt, cancel, complete, completeExceptionally, fork, get, get, getException, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyInvoke, quietlyJoin, reinitialize, tryUnfork |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final PAS.FJSelectAllDriver driver
PAS.FJSelectAll left
PAS.FJSelectAll right
final int lo
final int hi
int count
int offset
boolean isInternal
final int threshold
Constructor Detail |
---|
PAS.FJSelectAll(PAS.FJSelectAllDriver driver, int lo, int hi)
Method Detail |
---|
public void compute()
compute
in class jsr166y.RecursiveAction
void internalPhase0()
void internalPhase1()
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |