public class GraphNode<V> extends Object
GraphNode(V vertex)
void
add(Edge<V> edge)
Edge<V>
get(V to)
Set<Edge<V>>
getEdgeSet()
V
getVertex()
remove(V to)
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public GraphNode(V vertex)
vertex
public void add(Edge<V> edge)
edge
public Edge<V> get(V to)
to
public Edge<V> remove(V to)
public V getVertex()
public Set<Edge<V>> getEdgeSet()
public String toString()
toString
Object
Copyright © 2020. All rights reserved.