question: private void recalculateTableIndices ( ) { List < Integer > indices = new LinkedList < Integer > ( ) ; for ( int i = 0 ; i < elements . length ; i ++ ) { if ( mask [ elements [ i ] ] ) { indices . add ( i ) ; } } tableIndexMap = new int [ indices . size ( ) ] ; Iterator < Integer > i = indices . iterator ( ) ; int counter = 0 ; while ( i . hasNext ( ) ) { tableIndexMap [ counter ++ ] = i . next ( ) ; } }
target:  Recalculates the example table indices of the currently selected examples.