- find the hashmap's internal table object count: table.count
- in the i$ iterator object representing the for each, set the index to just below the table.count
- iterator will exit without ConcurrentModification or other errors
WARNING: don't do this unless you understand the process you are interrupting in a deep way and know that there are no side effects.