|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmorfologik.fsa.FSAFinalStatesIterator
public final class FSAFinalStatesIterator
An iterator that traverses all final states reachable from a given node and returns byte sequences corresponding to final states.
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if there are still elements in this iterator. |
java.nio.ByteBuffer |
next()
|
void |
remove()
Not implemented in this iterator. |
void |
restartFrom(int node)
Restart walking from node . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void restartFrom(int node)
node
.
public boolean hasNext()
true
if there are still elements in this iterator.
hasNext
in interface java.util.Iterator<java.nio.ByteBuffer>
public java.nio.ByteBuffer next()
next
in interface java.util.Iterator<java.nio.ByteBuffer>
ByteBuffer
with the sequence corresponding
to the next final state in the automaton.public final void remove()
remove
in interface java.util.Iterator<java.nio.ByteBuffer>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |