antlr.collections.impl
Class VectorEnumerator

java.lang.Object
  |
  +--antlr.collections.impl.VectorEnumerator
All Implemented Interfaces:
Enumeration

class VectorEnumerator
extends Object
implements Enumeration


Field Summary
(package private)  int i
           
(package private)  Vector vector
           
 
Constructor Summary
(package private) VectorEnumerator(Vector v)
           
 
Method Summary
 boolean hasMoreElements()
          Enabled: Tests if this enumeration contains more elements.
 Object nextElement()
          Enabled: Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Enumeration
asList, iterate
 

Field Detail

vector

Vector vector

i

int i
Constructor Detail

VectorEnumerator

VectorEnumerator(Vector v)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Description copied from interface: Enumeration
Enabled: Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElement

public Object nextElement()
Description copied from interface: Enumeration
Enabled: Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface Enumeration
Returns:
the next element of this enumeration.


comments?