送交者: AA 于 2005-11-15, 08:28:48:
回答: Java HashSet Problem. 由 松鼠 于 2005-11-10, 00:21:15:
Without looking into the Collection implementation detail, I guess this can be an area for improvement. There are some programming rules or patterns for programmer to follow with iterator, but the problem you met is not much reasonable, esp. the exception it throws is really misleading because there is no concurrent accesses to the set at all, although we can understand that's because you remove element with set, and access it with another pointer.