JFlex
Class StateSetEnumerator

java.lang.Object
  extended by JFlex.StateSetEnumerator

public final class StateSetEnumerator
extends java.lang.Object

Enumerates the states of a StateSet.


Constructor Summary
StateSetEnumerator()
          creates a new StateSetEnumerator that is not yet associated with a StateSet.
StateSetEnumerator(StateSet states)
           
 
Method Summary
 boolean hasMoreElements()
           
 int nextElement()
           
 void reset(StateSet states)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateSetEnumerator

public StateSetEnumerator()
creates a new StateSetEnumerator that is not yet associated with a StateSet. hasMoreElements() and nextElement() will throw NullPointerException when used before reset()


StateSetEnumerator

public StateSetEnumerator(StateSet states)
Method Detail

reset

public void reset(StateSet states)

hasMoreElements

public boolean hasMoreElements()

nextElement

public int nextElement()