com.bankframe.util.collections
Class IteratorEnumeration

java.lang.Object
  extended by com.bankframe.util.collections.IteratorEnumeration
All Implemented Interfaces:
Serializable, Enumeration

public class IteratorEnumeration
extends Object
implements Serializable, Enumeration

See Also:
Serialized Form

Constructor Summary
IteratorEnumeration()
          Default constructor
IteratorEnumeration(Iterator iter)
          Constructor
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorEnumeration

public IteratorEnumeration()
Default constructor


IteratorEnumeration

public IteratorEnumeration(Iterator iter)
Constructor

Parameters:
iter - The iterator to convert to an enumeration
Method Detail

hasMoreElements

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

nextElement

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


Copyright © 2005, 2007, Oracle. All rights reserved.