insertEdgeEnd method

void insertEdgeEnd(
  1. EdgeEnd e,
  2. Object obj
)

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
}