|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.configurableparser.Lookahead2Iterator<E>
public class Lookahead2Iterator<E>
An iterator which stores the next two tokens.
Constructor Summary | |
---|---|
Lookahead2Iterator(java.util.Iterator<E> input)
|
|
Lookahead2Iterator(java.util.List<E> input)
|
Method Summary | |
---|---|
void |
consume()
Eat one token. |
E |
nextnext()
|
E |
peekNext()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Lookahead2Iterator(java.util.List<E> input)
public Lookahead2Iterator(java.util.Iterator<E> input)
Method Detail |
---|
public E peekNext()
public E nextnext()
public void consume()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |