insertEdgeEnd method
Insert an EdgeEnd into the map, and clear the edgeList cache, since the list of edges has now changed
Implementation
void insertEdgeEnd(EdgeEnd e, Object obj) {
edgeMap[e] = obj;
edgeList = null; // edge list has changed - clear the cache
}