question: public static < T > void removeAll ( List < T > list , List < Integer > indexes ) { if ( list == null || indexes == null ) { return ; } Collections . sort ( indexes , Collections . reverseOrder ( ) ) ; final int size = list . size ( ) ; for ( Integer index : indexes ) { if ( index >= 0 && index < size ) { list . remove ( ( int ) index ) ; } } }
target:  Removes from the given list the elements at the given indexes. Ignores indexes which are out of bounds of list.