Package com.yahoo.fsa

Class FSA.Iterator

  • All Implemented Interfaces:
    java.util.Iterator<FSA.Iterator.Item>
    Enclosing class:
    FSA

    public static class FSA.Iterator
    extends java.lang.Object
    implements java.util.Iterator<FSA.Iterator.Item>
    Class used to iterate over all accepted strings in the fsa.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FSA.Iterator.Item
      Internally, this class stores the state information for the iterator.
    • Constructor Summary

      Constructors 
      Constructor Description
      Iterator​(FSA.State state)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      FSA.Iterator.Item next()  
      void remove()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Constructor Detail

      • Iterator

        public Iterator​(FSA.State state)
        Constructor.
        Parameters:
        state - the state to create the iterator from.