tools
Class List.ListIterator

java.lang.Object
  extended by tools.List.ListIterator
All Implemented Interfaces:
GeneralIterator
Enclosing class:
List

public class List.ListIterator
extends java.lang.Object
implements GeneralIterator


Constructor Summary
List.ListIterator()
           
 
Method Summary
 void add(java.lang.Object o)
           
 void advance()
           
 boolean canAdvance()
           
 java.lang.Object getValue()
           
 void remove()
           
 void replaceValue(java.lang.Object d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

List.ListIterator

public List.ListIterator()
Method Detail

canAdvance

public boolean canAdvance()
Specified by:
canAdvance in interface GeneralIterator

advance

public void advance()
             throws EmptyListException
Specified by:
advance in interface GeneralIterator
Throws:
EmptyListException

getValue

public java.lang.Object getValue()
                          throws EmptyListException
Specified by:
getValue in interface GeneralIterator
Throws:
EmptyListException

replaceValue

public void replaceValue(java.lang.Object d)
                  throws EmptyListException
Specified by:
replaceValue in interface GeneralIterator
Throws:
EmptyListException

add

public void add(java.lang.Object o)
Specified by:
add in interface GeneralIterator

remove

public void remove()
            throws EmptyListException
Specified by:
remove in interface GeneralIterator
Throws:
EmptyListException