|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsr166y.RecursiveAction groovyx.gpars.extra166y.PAS.FJRemoveAllDriver
static final class PAS.FJRemoveAllDriver extends RecursiveAction
Root node for FJRemoveAll. Spawns subtasks and shifts elements as indices become available, bypassing index array creation when offsets are known. This differs from SelectAll mainly in that data movement is all done by the driver rather than in a second parallel pass.
Field Summary | |
---|---|
int |
hi
|
int[] |
indices
|
int |
lo
|
int |
offset
|
AbstractParallelAnyArray |
pap
|
int |
threshold
|
Constructor Summary | |
PAS.FJRemoveAllDriver(AbstractParallelAnyArray pap, int lo, int hi)
|
Method Summary | |
---|---|
void
|
compute()
|
static int
|
inorderMove(FJRemoveAll t, int index)
Inorder traversal to move indexed elements across reachable nodes. |
Field Detail |
---|
final int hi
final int[] indices
final int lo
int offset
final AbstractParallelAnyArray pap
final int threshold
Constructor Detail |
---|
PAS.FJRemoveAllDriver(AbstractParallelAnyArray pap, int lo, int hi)
Method Detail |
---|
public void compute()
static int inorderMove(FJRemoveAll t, int index)
Copyright © 2008–2012 Václav Pech. All Rights Reserved.