com.generationjava.collections
Class EnumerationGrouper

java.lang.Object
  |
  +--com.generationjava.collections.EnumerationGrouper
All Implemented Interfaces:
Grouper

public class EnumerationGrouper
extends java.lang.Object
implements Grouper

Take an enumeration of different types of objects. Pass them into this object and then get them out by classname.


Constructor Summary
EnumerationGrouper(java.util.Enumeration enum)
           
 
Method Summary
 void addEnumeration(java.util.Enumeration enum)
          Add this enumeration to the grouper.
 java.util.Enumeration enumerateGroup(java.lang.String classname)
          Get an enumeration of all the Classes of type classname.
 java.util.Enumeration enumerateTypes()
          Enumerate over the types this group contains.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationGrouper

public EnumerationGrouper(java.util.Enumeration enum)
Method Detail

addEnumeration

public void addEnumeration(java.util.Enumeration enum)
Add this enumeration to the grouper.


enumerateGroup

public java.util.Enumeration enumerateGroup(java.lang.String classname)
Get an enumeration of all the Classes of type classname.


enumerateTypes

public java.util.Enumeration enumerateTypes()
Enumerate over the types this group contains.



Copyright © 2000-2003 OSJava. All Rights Reserved.