|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.beanlib.util.ArrayDeque.DeqIterator
private class ArrayDeque.DeqIterator
| Field Summary | |
|---|---|
private int |
cursor
Index of element to be returned by subsequent call to next. |
private int |
fence
Tail recorded at construction (also in remove), to stop iterator and also to check for comodification. |
private int |
lastRet
Index of element returned by most recent call to next. |
| Constructor Summary | |
|---|---|
private |
ArrayDeque.DeqIterator()
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
E |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int cursor
private int fence
private int lastRet
| Constructor Detail |
|---|
private ArrayDeque.DeqIterator()
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<E>public E next()
next in interface Iterator<E>public void remove()
remove in interface Iterator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||