Class TreeIterator

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

    public class TreeIterator
    extends java.lang.Object
    implements java.util.Iterator<Node>
    • Field Detail

      • path

        private java.lang.String path
      • cursorStack

        private int[] cursorStack
    • Method Detail

      • getPath

        public java.lang.String getPath()
      • setCursor

        protected void setCursor​(int i)
      • incCursor

        protected void incCursor()
      • getCursor

        protected int getCursor()
      • hasNext

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

        public Node next()
        Specified by:
        next in interface java.util.Iterator<Node>
      • remove

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