Package one.microstream.util.iterables
Class ArrayListIterator<E>
java.lang.Object
one.microstream.util.iterables.ArrayListIterator<E>
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
public final class ArrayListIterator<E> extends Object implements ListIterator<E>
-
Constructor Details
-
Method Details
-
add
- Specified by:
add
in interfaceListIterator<E>
- Parameters:
e
- the element to add- Throws:
UnsupportedOperationException
- because this operation is not supported- See Also:
ListIterator.add(java.lang.Object)
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<E>
- Specified by:
hasNext
in interfaceListIterator<E>
- See Also:
ListIterator.hasNext()
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
- See Also:
ListIterator.hasPrevious()
-
next
- Specified by:
next
in interfaceIterator<E>
- Specified by:
next
in interfaceListIterator<E>
- See Also:
ListIterator.next()
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
- See Also:
ListIterator.nextIndex()
-
previous
- Specified by:
previous
in interfaceListIterator<E>
- See Also:
ListIterator.previous()
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
- See Also:
ListIterator.previousIndex()
-
remove
- Specified by:
remove
in interfaceIterator<E>
- Specified by:
remove
in interfaceListIterator<E>
- Throws:
UnsupportedOperationException
- because this operation is not supported- See Also:
ListIterator.remove()
-
set
- Specified by:
set
in interfaceListIterator<E>
- See Also:
ListIterator.set(java.lang.Object)
-