com.planet_ink.coffee_mud.core.collections
Class MultiIterator<K>

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.collections.MultiIterator<K>
All Implemented Interfaces:
java.util.Iterator<K>

public class MultiIterator<K>
extends java.lang.Object
implements java.util.Iterator<K>


Constructor Summary
MultiIterator()
           
MultiIterator(java.util.Collection<java.util.Iterator<K>> esets)
           
MultiIterator(java.lang.Iterable<? extends java.lang.Iterable<K>> esets)
           
MultiIterator(java.lang.Iterable<K>[] esets)
           
MultiIterator(java.util.Iterator<K>[] esets)
           
 
Method Summary
 void add(java.util.Iterator<K> eset)
           
 boolean hasNext()
           
 K next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiIterator

public MultiIterator(java.util.Iterator<K>[] esets)

MultiIterator

public MultiIterator(java.util.Collection<java.util.Iterator<K>> esets)

MultiIterator

public MultiIterator(java.lang.Iterable<K>[] esets)

MultiIterator

public MultiIterator(java.lang.Iterable<? extends java.lang.Iterable<K>> esets)

MultiIterator

public MultiIterator()
Method Detail

add

public void add(java.util.Iterator<K> eset)

hasNext

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

next

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

remove

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