QJCC homepage

biz.chitec.quarterback.util
Class IteratorEnumeration

java.lang.Object
  extended bybiz.chitec.quarterback.util.IteratorEnumeration
All Implemented Interfaces:
java.util.Enumeration

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

Enumeration which is backed by an Iterator For conversion between modern and legacy APIs

Version:
$Id: 31a9dd763fef1fd914a7a0a9cd2dfc7ae4dd879b $
Author:
cantamen/Dirk Hillbrecht 2005

Field Summary
private  java.util.Iterator it
           
 
Constructor Summary
IteratorEnumeration(java.util.Iterator itx)
           
 
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
 

Field Detail

it

private java.util.Iterator it
Constructor Detail

IteratorEnumeration

public IteratorEnumeration(java.util.Iterator itx)
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

QJCC homepage