|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsr166y.RecursiveAction groovyx.gpars.extra166y.PAS.FJSelectAll
static final class PAS.FJSelectAll extends RecursiveAction
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 | |
---|---|
int |
count
|
FJSelectAllDriver |
driver
|
int |
hi
|
boolean |
isInternal
|
FJSelectAll |
left
|
int |
lo
|
int |
offset
|
FJSelectAll |
right
|
int |
threshold
|
Constructor Summary | |
PAS.FJSelectAll(FJSelectAllDriver driver, int lo, int hi)
|
Method Summary | |
---|---|
void
|
compute()
|
void
|
internalPhase0()
|
void
|
internalPhase1()
|
Field Detail |
---|
int count
final FJSelectAllDriver driver
final int hi
boolean isInternal
FJSelectAll left
final int lo
int offset
FJSelectAll right
final int threshold
Constructor Detail |
---|
PAS.FJSelectAll(FJSelectAllDriver driver, int lo, int hi)
Method Detail |
---|
public void compute()
void internalPhase0()
void internalPhase1()
Copyright © 2008–2012 Václav Pech. All Rights Reserved.