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

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

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


Constructor Summary
FilteredEnumeration(java.util.Enumeration<K> eset, Filterer<K> fil)
           
 
Method Summary
 boolean hasMoreElements()
           
 K nextElement()
           
 void setFilterer(Filterer<K> fil)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredEnumeration

public FilteredEnumeration(java.util.Enumeration<K> eset,
                           Filterer<K> fil)
Method Detail

setFilterer

public void setFilterer(Filterer<K> fil)

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>