iterator method
Iterator access to the ordered list of edges is optimized by copying the map collection to a list. (This assumes that once an iterator is requested, it is likely that insertion into the map is complete).
Implementation
Iterator iterator() {
return getEdges().iterator;
}