org.codehaus.gpars

groovyx.gpars.extra166y
[Java] Class PAS.FJSelectAll

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

count

int count


driver

final FJSelectAllDriver driver


hi

final int hi


isInternal

boolean isInternal


left

FJSelectAll left


lo

final int lo


offset

int offset


right

FJSelectAll right


threshold

final int threshold


 
Constructor Detail

PAS.FJSelectAll

PAS.FJSelectAll(FJSelectAllDriver driver, int lo, int hi)


 
Method Detail

compute

public void compute()


internalPhase0

void internalPhase0()


internalPhase1

void internalPhase1()


 

Copyright © 2008–2012 Václav Pech. All Rights Reserved.