Package org.htmlunit.html
Class SiblingDomNodeList.SiblingListIterator
java.lang.Object
org.htmlunit.html.SiblingDomNodeList.SiblingListIterator
- All Implemented Interfaces:
Iterator<DomNode>
,ListIterator<DomNode>
- Enclosing class:
SiblingDomNodeList
private class SiblingDomNodeList.SiblingListIterator
extends Object
implements ListIterator<DomNode>
-
Field Details
-
prev_
-
next_
-
nextIndex_
private int nextIndex_
-
-
Constructor Details
-
SiblingListIterator
SiblingListIterator(int index)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<DomNode>
-
previous
- Specified by:
previous
in interfaceListIterator<DomNode>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<DomNode>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<DomNode>
-
add
- Specified by:
add
in interfaceListIterator<DomNode>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<DomNode>
-