Package jflex.state

Class StateSetEnumerator

    • Method Detail

      • reset

        public void reset​(StateSet states)
        Reset this enumerator/iterator and associate it with a given StateSet.
        Parameters:
        states - the StateSet object to iterate over.
      • hasMoreElements

        public boolean hasMoreElements()
        Determine if there are further elements in the set to be returned.
        Returns:
        true iff there are more elements in the set.