| Used to iterate the event listener.
It resolves a bug of LinkedList:
LinkedList's hasNext() and hasPrevious() doesn't check
concurrent-modification.
Thus, if the 2nd last listener is removed, hasNext() simply return
false (and the last listener is ignored) rather than throwing
ConcurrentModificationException. Refer to Bug 1730532.
author: tomyeh |