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:
hasPreviousin interfaceListIterator<E>
-
previous
public E previous()
- Specified by:
previousin interfaceListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<E>
-
set
public void set(E e)
- Specified by:
setin interfaceListIterator<E>
-
add
public void add(E e)
- Specified by:
addin interfaceListIterator<E>
-
-