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

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

public class MultiEnumeration<K>
extends java.lang.Object
implements java.util.Enumeration<K>


Nested Class Summary
static interface MultiEnumeration.MultiEnumeratorBuilder<K>
           
 
Constructor Summary
MultiEnumeration(java.util.Collection<java.util.Enumeration<K>> esets)
           
MultiEnumeration(java.util.Enumeration<K> eset)
           
MultiEnumeration(java.util.Enumeration<K>[] esets)
           
 
Method Summary
 MultiEnumeration<K> addEnumeration(java.util.Enumeration<K> set)
           
 boolean hasMoreElements()
           
 K nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiEnumeration

public MultiEnumeration(java.util.Enumeration<K>[] esets)

MultiEnumeration

public MultiEnumeration(java.util.Collection<java.util.Enumeration<K>> esets)

MultiEnumeration

public MultiEnumeration(java.util.Enumeration<K> eset)
Method Detail

addEnumeration

public MultiEnumeration<K> addEnumeration(java.util.Enumeration<K> set)

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration<K>

nextElement

public K nextElement()
Specified by:
nextElement in interface java.util.Enumeration<K>