Class Graph

java.lang.Object
cruise.umple.compiler.Graph
Direct Known Subclasses:
StateMachineGraph

public abstract class Graph
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Boolean isDepthFirst  
    protected java.util.LinkedList<Node> queue  
    protected java.util.Stack<Node> stack  
    protected Node startNode  
  • Constructor Summary

    Constructors 
    Constructor Description
    Graph()  
  • Method Summary

    Modifier and Type Method Description
    void clearNodes()
    TODO same as above.
    void delete()  
    boolean hasNext()  
    boolean isDepthFirst()  
    Node nextNode()
    TODO this should be abstract but because of issue $$$ it makes child classes abstract.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • delete

      public void delete()
    • hasNext

      public boolean hasNext()
    • isDepthFirst

      public boolean isDepthFirst()
    • nextNode

      public Node nextNode()
      TODO this should be abstract but because of issue $$$ it makes child classes abstract.
    • clearNodes

      public void clearNodes()
      TODO same as above. should be abstract.