public class FastVector.FastVectorEnumeration extends Object implements Enumeration, RevisionHandler
Constructor and Description |
---|
FastVector.FastVectorEnumeration(FastVector vector)
Constructs an enumeration.
|
FastVector.FastVectorEnumeration(FastVector vector,
int special)
Constructs an enumeration with a special element.
|
Modifier and Type | Method and Description |
---|---|
String |
getRevision()
Returns the revision string.
|
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate.
|
Object |
nextElement()
Returns the next element.
|
public FastVector.FastVectorEnumeration(FastVector vector)
vector
- the vector which is to be enumeratedpublic FastVector.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 Enumeration
public final Object nextElement()
nextElement
in interface Enumeration
public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.