public class LazyIntegerList.LazyIntegerListIterator extends Object implements ListIterator<Integer>
| Modifier and Type | Field and Description |
|---|---|
protected int |
current |
protected int |
max |
protected int |
min |
| Constructor and Description |
|---|
LazyIntegerListIterator(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Integer arg0) |
boolean |
hasNext() |
boolean |
hasPrevious() |
Integer |
next() |
int |
nextIndex() |
Integer |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(Integer arg0) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void add(Integer arg0)
add in interface ListIterator<Integer>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<Integer>public Integer next()
public int nextIndex()
nextIndex in interface ListIterator<Integer>public Integer previous()
previous in interface ListIterator<Integer>public int previousIndex()
previousIndex in interface ListIterator<Integer>public void remove()
public void set(Integer arg0)
set in interface ListIterator<Integer>Copyright © 2020. All rights reserved.