|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsr166y.RecursiveAction groovyx.gpars.extra166y.PAS.FJSearchBase
static abstract class PAS.FJSearchBase extends RecursiveAction
Base for cancellable search tasks. Same idea as FJBase but cancels tasks when result nonnegative.
Field Summary | |
---|---|
int |
hi
|
int |
lo
|
FJSearchBase |
next
|
AbstractParallelAnyArray |
pap
|
java.util.concurrent.atomic.AtomicInteger |
result
|
Constructor Summary | |
PAS.FJSearchBase(AbstractParallelAnyArray pap, int lo, int hi, FJSearchBase next, java.util.concurrent.atomic.AtomicInteger result)
|
Method Summary | |
---|---|
void
|
atLeaf(int l, int h)
|
void
|
compute()
|
FJSearchBase
|
newSubtask(int l, int h, FJSearchBase r)
|
Field Detail |
---|
final int hi
final int lo
final FJSearchBase next
final AbstractParallelAnyArray pap
final java.util.concurrent.atomic.AtomicInteger result
Constructor Detail |
---|
PAS.FJSearchBase(AbstractParallelAnyArray pap, int lo, int hi, FJSearchBase next, java.util.concurrent.atomic.AtomicInteger result)
Method Detail |
---|
void atLeaf(int l, int h)
public void compute()
FJSearchBase newSubtask(int l, int h, FJSearchBase r)
Copyright © 2008–2012 Václav Pech. All Rights Reserved.