Package com.yahoo.fsa

Class FSA.Iterator.Item

  • Enclosing class:
    FSA.Iterator

    public static class FSA.Iterator.Item
    extends Object
    Internally, this class stores the state information for the iterator. Externally, it is used for accessing the data associated with the iterator position.
    • Constructor Detail

      • Item

        public Item​(FSA fsa,
                    int state)
        Constructor
        Parameters:
        fsa - the FSA object the iterator is associated with.
        state - the state used as start state.
      • Item

        public Item​(FSA.Iterator.Item item)
        Copy constructor. (Does not copy the state stack)