|
||||||||||
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.FJSearchBase
abstract static class PAS.FJSearchBase
Base for cancellable search tasks. Same idea as FJBase but cancels tasks when result nonnegative.
Field Summary | |
---|---|
(package private) int |
hi
|
(package private) int |
lo
|
(package private) PAS.FJSearchBase |
next
|
(package private) AbstractParallelAnyArray |
pap
|
(package private) java.util.concurrent.atomic.AtomicInteger |
result
|
Constructor Summary | |
---|---|
PAS.FJSearchBase(AbstractParallelAnyArray pap,
int lo,
int hi,
PAS.FJSearchBase next,
java.util.concurrent.atomic.AtomicInteger result)
|
Method Summary | |
---|---|
(package private) abstract void |
atLeaf(int l,
int h)
|
void |
compute()
|
(package private) abstract PAS.FJSearchBase |
newSubtask(int l,
int h,
PAS.FJSearchBase r)
|
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 AbstractParallelAnyArray pap
final int lo
final int hi
final PAS.FJSearchBase next
final java.util.concurrent.atomic.AtomicInteger result
Constructor Detail |
---|
PAS.FJSearchBase(AbstractParallelAnyArray pap, int lo, int hi, PAS.FJSearchBase next, java.util.concurrent.atomic.AtomicInteger result)
Method Detail |
---|
public void compute()
compute
in class jsr166y.RecursiveAction
abstract PAS.FJSearchBase newSubtask(int l, int h, PAS.FJSearchBase r)
abstract void atLeaf(int l, int h)
|
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 |