void removeUnusableIndexConditions(){
  for (int i=0; i < indexConditions.size(); i++) {
    IndexCondition cond=indexConditions.get(i);
    if (!cond.isEvaluatable()) {
      indexConditions.remove(i--);
    }
  }
}

void removeUnusableIndexConditions ( ) { for ( int i = 0 ; i < indexConditions . size ( ) ; i ++ ) { IndexCondition cond = indexConditions . get ( i ) ; if ( ! cond . isEvaluatable ( ) ) { indexConditions . remove ( i -- ) ; } } }
remove all index conditions that are not used by the current index .
