Package org.aion.avm.userlib
Class AionList.AionListIterator
- java.lang.Object
-
- org.aion.avm.userlib.AionList.AionListIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>
,java.util.ListIterator<E>
public class AionList.AionListIterator extends java.lang.Object implements java.util.ListIterator<E>
Note that this is a very simple implementation so it skips all optional operations and doesn't detect concurrent modifications. (public only to reference it from tests when building the DApp jar)
-
-
Constructor Summary
Constructors Constructor Description AionListIterator(int nextIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(E e)
boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
void
remove()
void
set(E e)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<E>
-
remove
public void remove()
-
-