com.bankframe.util
Class VectorEnumeration

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

public class VectorEnumeration
extends Object
implements Enumeration, Serializable

See Also:
Serialized Form

Constructor Summary
VectorEnumeration()
          Default Constructor
VectorEnumeration(Vector vector)
          Constructor
 
Method Summary
 boolean hasMoreElements()
          This methods returns true if Enumeration contains more elements
 Object nextElement()
          This method returns the next Object in the Enumeration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorEnumeration

public VectorEnumeration()
Default Constructor


VectorEnumeration

public VectorEnumeration(Vector vector)
Constructor

Parameters:
vector - The Vector instance to create an Enumeration from
Method Detail

hasMoreElements

public boolean hasMoreElements()
This methods returns true if Enumeration contains more elements

Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
This method returns the next Object in the Enumeration

Specified by:
nextElement in interface Enumeration


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