question: public void resetTextBoxIndexesExcept ( Set < Integer > excludedList ) { Set < Integer > unusedTextBoxIndexes = new HashSet < Integer > ( points . getTextBoxIndexes ( ) ) ; unusedTextBoxIndexes . removeAll ( excludedList ) ; for ( Integer index : unusedTextBoxIndexes ) { points . removeTextBox ( index ) ; } }
target:  resets all textbox indexes except those which are contained in the excludedList