protected class NodeList.NodeListIterator extends Object implements ListIterator<N>
Constructor and Description |
---|
NodeListIterator(List<N> list) |
NodeListIterator(List<N> list,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
add(N n) |
void |
forEachRemaining(Consumer<? super N> action) |
boolean |
hasNext() |
boolean |
hasPrevious() |
N |
next() |
int |
nextIndex() |
N |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(N n) |
public boolean hasNext()
public N next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<N extends Node>
public N previous()
previous
in interface ListIterator<N extends Node>
public int nextIndex()
nextIndex
in interface ListIterator<N extends Node>
public int previousIndex()
previousIndex
in interface ListIterator<N extends Node>
public void remove()
public void set(N n)
set
in interface ListIterator<N extends Node>
public void add(N n)
add
in interface ListIterator<N extends Node>
Copyright © 2007–2022. All rights reserved.