Пример #1
0
    /** @see VertexSetListener#vertexRemoved(GraphVertexChangeEvent) */
    public void vertexRemoved(GraphVertexChangeEvent<V> e) {
      V jtVertex = e.getVertex();

      if (!jtElementsBeingRemoved.remove(jtVertex)) {
        handleJGraphTRemoveVertex(jtVertex);
      }
    }
Пример #2
0
 /** @see VertexSetListener#vertexRemoved(GraphVertexChangeEvent) */
 public void vertexRemoved(GraphVertexChangeEvent<V> e) {
   predecessorMap.remove(e.getVertex());
   successorMap.remove(e.getVertex());
 }