com.basecmp.core.util
Class Iterator2EnumerationWrapper

java.lang.Object
  extended bycom.basecmp.core.util.Iterator2EnumerationWrapper
All Implemented Interfaces:
java.util.Enumeration

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

Einfache Wrapper-Klasse, die einen Iterator nach aussen als Enumertation erscheinen lässt. Simple wrapper-class providing the Enumeration-Interface for iterators.

Author:
Wolfgang Schröder

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

Iterator2EnumerationWrapper

public Iterator2EnumerationWrapper(java.util.Iterator it)
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 © 2004 by basecmp® - Professional Web Solutions