public static class FSA.Iterator extends Object implements Iterator<FSA.Iterator.Item>
Modifier and Type | Class and Description |
---|---|
static class |
FSA.Iterator.Item
Internally, this class stores the state information for the iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
FSA.Iterator.Item |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public Iterator(FSA.State state)
state
- the state to create the iterator from.public boolean hasNext()
hasNext
in interface Iterator<FSA.Iterator.Item>
public FSA.Iterator.Item next()
next
in interface Iterator<FSA.Iterator.Item>
public void remove()
remove
in interface Iterator<FSA.Iterator.Item>
Copyright © 2018. All rights reserved.