Is there a way to do something like this:
ArrayList<String>.removeAll(ArrayList<Integer>)
With the ArrayList<Integer> being the indices that I want deleted. I know that I could iterate through the indices list and use remove(index), but I was wondering if there is a one-command way of doing so.
I know how to put this iteration into one line, my question is, if there is a way implemented by oracle.
removemethod for each index individually. All possible answers to your question will show such an approach.