Class ExecutionTreeBfsIterator

  • All Implemented Interfaces:
    java.util.Iterator<ExecutionTreeNode>

    public class ExecutionTreeBfsIterator
    extends java.lang.Object
    implements java.util.Iterator<ExecutionTreeNode>
    Iterates over an ExecutionTree using breadth-first search
    • Constructor Detail

      • ExecutionTreeBfsIterator

        public ExecutionTreeBfsIterator​(ExecutionTreeNode executionTree)
      • ExecutionTreeBfsIterator

        public ExecutionTreeBfsIterator​(ExecutionTreeNode rootNode,
                                        boolean reverseOrder)
    • Method Detail

      • flattenTree

        protected void flattenTree()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<ExecutionTreeNode>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<ExecutionTreeNode>