tools
Interface GeneralIterator

All Known Implementing Classes:
List.ListIterator

public interface GeneralIterator


Method Summary
 void add(java.lang.Object o)
           
 void advance()
           
 boolean canAdvance()
           
 java.lang.Object getValue()
           
 void remove()
           
 void replaceValue(java.lang.Object d)
           
 

Method Detail

canAdvance

boolean canAdvance()

advance

void advance()
             throws EmptyListException
Throws:
EmptyListException

getValue

java.lang.Object getValue()
                          throws EmptyListException
Throws:
EmptyListException

replaceValue

void replaceValue(java.lang.Object d)
                  throws EmptyListException
Throws:
EmptyListException

add

void add(java.lang.Object o)

remove

void remove()
            throws EmptyListException
Throws:
EmptyListException