StateSetEnumerator

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.core.parser.JFlex
Class StateSetEnumerator

    java.lang.Object
      weka.core.parser.JFlex.StateSetEnumerator

    public final class StateSetEnumerator

extends java.lang.Object

Enumerates the states of a StateSet.

Version:
  JFlex 1.4.1, $Revision: 1.1 $, $Date: 2008-05-09 09:14:11 $
Author:
  Gerwin Klein

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
`equals, 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()

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD