public class FastVector.FastVectorEnumeration extends java.lang.Object implements java.util.Enumeration, RevisionHandler
Constructor and Description |
---|
FastVectorEnumeration(FastVector vector)
Constructs an enumeration.
|
FastVectorEnumeration(FastVector vector,
int special)
Constructs an enumeration with a special element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate.
|
java.lang.Object |
nextElement()
Returns the next element.
|
public FastVectorEnumeration(FastVector vector)
vector
- the vector which is to be enumeratedpublic FastVectorEnumeration(FastVector vector, int special)
vector
- the vector which is to be enumeratedspecial
- the index of the special elementpublic final boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public final java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public java.lang.String getRevision()
getRevision
in interface RevisionHandler