factory method that creates a runnable task that will process one node of the input list at location index in a background task provided by the executor . concode_field_sep List<E> mInput concode_elem_sep AtomicLong mCurrentCycle concode_elem_sep Executor mExecutor concode_field_sep void taskDone concode_elem_sep List<E> getNextInput concode_elem_sep void initiateHook concode_elem_sep long currentCycle concode_elem_sep Executor getExecutor concode_elem_sep void run concode_elem_sep List<E> getInput concode_elem_sep boolean processInput concode_elem_sep void setExecutor concode_elem_sep void initiateTaskGang concode_elem_sep void awaitTasksDone concode_elem_sep List<E> setInput concode_elem_sep boolean advanceTaskToNextCycle concode_elem_sep long incrementCycle
Runnable function ( final int arg0 ) { return new Runnable ( ) { public void run ( ) { try { E loc0 = getInput ( ) . get ( arg0 ) ; if ( processInput ( loc0 ) ) taskDone ( arg0 ) ; else return ; } catch ( IndexOutOfBoundsException loc0 ) { return ; } } } ; }