Class TernaryTree.Iterator

  • All Implemented Interfaces:
    java.util.Enumeration<java.lang.String>
    Enclosing class:
    TernaryTree

    public class TernaryTree.Iterator
    extends java.lang.Object
    implements java.util.Enumeration<java.lang.String>
    • Constructor Summary

      Constructors 
      Constructor Description
      Iterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char getValue()  
      boolean hasMoreElements()  
      java.lang.String nextElement()  
      void rewind()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Enumeration

        asIterator
    • Constructor Detail

      • Iterator

        public Iterator()
    • Method Detail

      • rewind

        public void rewind()
      • nextElement

        public java.lang.String nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<java.lang.String>
      • getValue

        public char getValue()
      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<java.lang.String>