Class GraphNode

java.lang.Object
edu.pdx.cs410J.net.GraphNode
All Implemented Interfaces:
Serializable

public class GraphNode extends Object implements Serializable
This class is used to demonstrate object serialization support for referential integrity.
See Also:
  • Constructor Details

  • Method Details

    • addChild

      public void addChild(GraphNode child)
      Adds a child node to this node
    • traverse

      public int traverse()
      Returns this node's number of unvisited descendents