|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kiwi.util.VectorSequence
An implementation of Sequence
for wrapping
Vector
s.
Field Summary | |
private int |
offset
|
private java.util.Vector |
vector
|
Constructor Summary | |
VectorSequence(java.util.Vector vector)
Construct a new VectorSequence . |
Method Summary | |
int |
getSize()
Get the size of the sequence. |
boolean |
hasMoreElements()
Check if the sequence has more elements. |
java.lang.Object |
nextElement()
Get the next element in the sequence. |
void |
rewind()
Rewind the sequence to the beginning. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Vector vector
private int offset
Constructor Detail |
public VectorSequence(java.util.Vector vector)
VectorSequence
.vector
- The Vector
to wrap.Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public void rewind()
rewind
in interface Sequence
public int getSize()
getSize
in interface Sequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |