edu.cmu.minorthird.util
Class UnionIterator<E>

java.lang.Object
  extended by edu.cmu.minorthird.util.UnionIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>

public class UnionIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>


Constructor Summary
UnionIterator(java.util.Iterator<E> a, java.util.Iterator<E> b)
           
 
Method Summary
 boolean hasNext()
           
static void main(java.lang.String[] argv)
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionIterator

public UnionIterator(java.util.Iterator<E> a,
                     java.util.Iterator<E> b)
Method Detail

hasNext

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

next

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

remove

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

main

public static void main(java.lang.String[] argv)