|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||