textmaven.configuration
Class FilteredEnumeration

java.lang.Object
  extended bytextmaven.configuration.FilteredEnumeration
All Implemented Interfaces:
java.util.Enumeration

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

The FilteredEnumeration. Wraps an enumeration and returns only object of a given class.

Author:
krebtho

Constructor Summary
FilteredEnumeration(java.util.Enumeration dictionaries, java.lang.Class filterClass)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
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 dictionaries,
                           java.lang.Class filterClass)
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


Copyright © 2002-2005 Sourceforge. All Rights Reserved.