1: // @author Frank M. Carrano, Timothy M. Henry 2: // @version 5.0 3: public boolean addVertex(T vertexLabel) 4: { 5: VertexInterface<T> addOutcome = vertices.add(vertexLabel, new Vertex<>(vertexLabel)); 6: return addOutcome == null; // Was addition to dictionary successful? 7: } // end addVertex