rcm.enum
Class FilteredEnumeration

java.lang.Object
  |
  +--rcm.enum.FilteredEnumeration
All Implemented Interfaces:
java.util.Enumeration

public abstract class FilteredEnumeration
extends java.lang.Object
implements java.util.Enumeration

Enumeration which transforms the elements of another enumeration.


Constructor Summary
FilteredEnumeration(java.util.Enumeration e)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
abstract  void transform(java.lang.Object o)
           
 void yield(java.lang.Object obj)
           
 
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 e)
Method Detail

hasMoreElements

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

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

yield

public void yield(java.lang.Object obj)

transform

public abstract void transform(java.lang.Object o)