public class FastVector.FastVectorEnumeration extends Object implements 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 |
|---|---|
String |
getRevision()
Returns the revision string.
|
boolean |
hasMoreElements()
Tests if there are any more elements to enumerate.
|
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 Enumerationpublic final Object nextElement()
nextElement in interface Enumerationpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2021 University of Waikato, Hamilton, NZ. All rights reserved.