public interface ILookahead<Data,X extends java.lang.Exception>
| Modifier and Type | Method and Description |
|---|---|
Data |
lookahead(int index)
Returned elements remain in the underlying data structure and are still
accessible.
|
Data lookahead(int index) throws X extends java.lang.Exception
index - Number of elements that are looked aheadX extends java.lang.Exception