lapisx.enum
Class PairEnumeration

java.lang.Object
  extended bylapisx.enum.PairEnumeration
All Implemented Interfaces:
Enumeration

public abstract class PairEnumeration
extends Object
implements Enumeration

Enumeration which transforms the elements of another enumeration.


Constructor Summary
PairEnumeration(Enumeration e1, Enumeration e2)
           
PairEnumeration(Enumeration e1, Enumeration e2, PairEnumeration history)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
abstract  void transform(Object o1, Object o2)
           
 void yield(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairEnumeration

public PairEnumeration(Enumeration e1,
                       Enumeration e2)

PairEnumeration

public PairEnumeration(Enumeration e1,
                       Enumeration e2,
                       PairEnumeration history)
Method Detail

hasMoreElements

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

nextElement

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

yield

public void yield(Object obj)

transform

public abstract void transform(Object o1,
                               Object o2)