Package one.microstream.util.iterables
Class TrivialIterator<E>
- java.lang.Object
-
- one.microstream.util.iterables.TrivialIterator<E>
-
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
public class TrivialIterator<E> extends Object implements ListIterator<E>
-
-
Constructor Summary
Constructors Constructor Description TrivialIterator(Referencing<E> parent)
-
-
-
Constructor Detail
-
TrivialIterator
public TrivialIterator(Referencing<E> parent)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
remove
public void remove()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<E>
-
previous
public E previous()
- Specified by:
previous
in interfaceListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<E>
-
set
public void set(E e)
- Specified by:
set
in interfaceListIterator<E>
-
add
public void add(E e)
- Specified by:
add
in interfaceListIterator<E>
-
-