ahc.collection
Interface Iterator

All Superinterfaces:
java.util.Iterator, java.util.ListIterator
All Known Implementing Classes:
GenericMap.UnmodifyableIterator, GenericMultiSet.MultiSetIterator

public interface Iterator
extends java.util.ListIterator

Author:
Arno Haase

Method Summary
 java.lang.Object current()
           
 int currentIndex()
           
 boolean hasCurrent()
           
 java.lang.Object next(int n)
           
 java.lang.Object previous(int n)
           
 boolean replace(java.lang.Object o)
          same as set, but this method returns a boolean saying whether the collection was changed.
 
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
 

Method Detail

hasCurrent

public boolean hasCurrent()

current

public java.lang.Object current()

currentIndex

public int currentIndex()

next

public java.lang.Object next(int n)

previous

public java.lang.Object previous(int n)

replace

public boolean replace(java.lang.Object o)
same as set, but this method returns a boolean saying whether the collection was changed.