com.generationjava.collections
Class EnumerationGrouper

java.lang.Object
  extended bycom.generationjava.collections.EnumerationGrouper
All Implemented Interfaces:
Grouper

public class EnumerationGrouper
extends 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(Enumeration enum)
           
 
Method Summary
 void addEnumeration(Enumeration enum)
          Add this enumeration to the grouper.
 Enumeration enumerateGroup(String classname)
          Get an enumeration of all the Classes of type classname.
 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(Enumeration enum)
Method Detail

addEnumeration

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


enumerateGroup

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


enumerateTypes

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



Copyright © 2000-2005 OSJava. All Rights Reserved.