Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.singularsys.jep.configurableparser
Class Lookahead2Iterator<E>

    java.lang.Object
      com.singularsys.jep.configurableparser.Lookahead2Iterator<E>

    public class Lookahead2Iterator<E>

extends java.lang.Object

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

### Lookahead2Iterator

    public Lookahead2Iterator(java.util.List<E> input)

### Lookahead2Iterator

    public Lookahead2Iterator(java.util.Iterator<E> input)

Method Detail

### peekNext

    public E peekNext()

### nextnext

    public E nextnext()

### consume

    public void consume()

  Eat one token.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Singular Systems http://www.singularsys.com/jep