lapisx.sort
Class SortedEnumeration

java.lang.Object
  extended bylapisx.sort.SortedEnumeration
All Implemented Interfaces:
Enumeration

public abstract class SortedEnumeration
extends Object
implements Enumeration

Enumeration which reorders the elements of another enumeration.


Constructor Summary
SortedEnumeration(Enumeration e)
           
 
Method Summary
abstract  int compare(Object o1, Object o2)
           
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedEnumeration

public SortedEnumeration(Enumeration e)
Method Detail

compare

public abstract int compare(Object o1,
                            Object o2)

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration