public class SuperListIterator<E> extends Object implements ListIterator<E>
Constructor and Description |
---|
SuperListIterator(List<List<E>> parents) |
SuperListIterator(List<List<E>> parents,
int index)
Creates an instance.
|
SuperListIterator(ListIterator<List<E>> parentIterator) |
Modifier and Type | Method and Description |
---|---|
void |
add(E object) |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public SuperListIterator(ListIterator<List<E>> parentIterator)
public boolean hasNext()
public int nextIndex()
nextIndex
in interface ListIterator<E>
public E next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<E>
public int previousIndex()
previousIndex
in interface ListIterator<E>
public E previous()
previous
in interface ListIterator<E>
public void add(E object)
add
in interface ListIterator<E>
public void remove()
public void set(E object)
set
in interface ListIterator<E>
Copyright © 2021. All rights reserved.