public Node(T data, NodeList <T> neighbors) { this.data = data; this.neighbors = neighbors; }
public GraphNode(T value, NodeList <T> neighbors) : base(value, neighbors) { }