nl.knowledgeplaza.util
Class IteratorToEnumerationAdapter

java.lang.Object
  extended by nl.knowledgeplaza.util.IteratorToEnumerationAdapter
All Implemented Interfaces:
java.util.Enumeration

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

Utility method for converting an Iterator to an Enumeration class.

Version:
$Revision: 1.2 $
Author:
$Author: toeukpap $

Constructor Summary
IteratorToEnumerationAdapter(java.util.Iterator pIterator)
           
 
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
 

Constructor Detail

IteratorToEnumerationAdapter

public IteratorToEnumerationAdapter(java.util.Iterator pIterator)
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


Copyright © 2010. All Rights Reserved.