tip.node
Class NodeList.NodeListIterator

java.lang.Object
  extended by tip.node.NodeList.NodeListIterator
All Implemented Interfaces:
java.util.Iterator<E>, java.util.ListIterator<E>
Enclosing class:
NodeList<E extends Node>

private class NodeList.NodeListIterator
extends java.lang.Object
implements java.util.ListIterator<E>


Field Summary
(package private)  java.util.ListIterator<E> iterator
           
(package private)  E last_returned
           
(package private)  boolean previous
           
 
Constructor Summary
NodeList.NodeListIterator(java.util.ListIterator<E> iterator)
           
 
Method Summary
 void add(E o)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 E next()
           
 int nextIndex()
           
 E previous()
           
 int previousIndex()
           
 void remove()
           
 void set(E o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterator

java.util.ListIterator<E extends Node> iterator

last_returned

E extends Node last_returned

previous

boolean previous
Constructor Detail

NodeList.NodeListIterator

NodeList.NodeListIterator(java.util.ListIterator<E> iterator)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<E extends Node>
Specified by:
hasNext in interface java.util.ListIterator<E extends Node>

next

public E next()
Specified by:
next in interface java.util.Iterator<E extends Node>
Specified by:
next in interface java.util.ListIterator<E extends Node>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator<E extends Node>

previous

public E previous()
Specified by:
previous in interface java.util.ListIterator<E extends Node>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator<E extends Node>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator<E extends Node>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<E extends Node>
Specified by:
remove in interface java.util.ListIterator<E extends Node>

set

public void set(E o)
Specified by:
set in interface java.util.ListIterator<E extends Node>

add

public void add(E o)
Specified by:
add in interface java.util.ListIterator<E extends Node>