Package org.ddogleg.struct
Class DogArrayList.MyIterator
java.lang.Object
org.ddogleg.struct.DogArrayList.MyIterator
- All Implemented Interfaces:
Iterator<T>
,ListIterator<T>
- Enclosing class:
- DogArrayList<T>
-
Constructor Details
-
MyIterator
public MyIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<T>
-
previous
- Specified by:
previous
in interfaceListIterator<T>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<T>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<T>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<T>
-
add
- Specified by:
add
in interfaceListIterator<T>
-