edu.rice.comp211.laundry.iterator
Interface BiIteratorI<T>

All Superinterfaces:
IteratorI<T>, ReadIteratorI<T>

public interface BiIteratorI<T>
extends IteratorI<T>

An iterator that traverses a collection of objects of type T in either direction possibly modifying it.


Method Summary
 void last()
          Puts the cursor on the last element of the collection.
 void prev()
          Puts the cursor on the previous element of the collection.
 
Methods inherited from interface edu.rice.comp211.laundry.iterator.IteratorI
insert, remove
 
Methods inherited from interface edu.rice.comp211.laundry.iterator.ReadIteratorI
atEnd, atStart, currentItem, first, next
 

Method Detail

last

void last()
Puts the cursor on the last element of the collection. Unspecified behavior if the collection is empty.


prev

void prev()
Puts the cursor on the previous element of the collection. Unspecified behavior if the collection is empty.