|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javasimon.callback.lastsplits.CircularList.MainIterator
private class CircularList.MainIterator
Main iterator user when the list contains at least one element
| Field Summary | |
|---|---|
private boolean |
begin
Is it first element. |
private int |
nextIndex
Index of the element |
| Constructor Summary | |
|---|---|
private |
CircularList.MainIterator()
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Is there another element in the list |
T |
next()
Returns an element and compute the next one |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int nextIndex
private boolean begin
| Constructor Detail |
|---|
private CircularList.MainIterator()
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<T>public T next()
next in interface Iterator<T>public void remove()
remove in interface Iterator<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||