edu.olemiss.cs211
Class CS211Iterator<T>

java.lang.Object
  extended by edu.olemiss.cs211.CS211Iterator<T>
All Implemented Interfaces:
java.util.Iterator<T>

public class CS211Iterator<T>
extends java.lang.Object
implements java.util.Iterator<T>


Constructor Summary
CS211Iterator(List<T> theList)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CS211Iterator

public CS211Iterator(List<T> theList)
Method Detail

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>