|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.util.VectorAccess
public class VectorAccess
A wrapper for a so that it may be sorted with the
static sort methods in VectorSort
ArrayAccess,
Sort,
Serialized Form| Constructor Summary | |
|---|---|
VectorAccess(java.util.Vector vector)
Construct an VectorAccess object which wraps a java.util.Vector |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone the object. |
int |
count()
Returns the number of items in the vector |
java.lang.Object |
get(int index)
Get a value via an integer index. |
void |
set(int index,
java.lang.Object object)
Set a value via an integer index. |
| Constructor Detail |
|---|
public VectorAccess(java.util.Vector vector)
vector - a Vector| Method Detail |
|---|
public java.lang.Object get(int index)
get in interface IndexedGetInterfaceindex - the index of the item to fetch.
java.lang.IndexOutOfBoundsException - The implementor of this interface may throw
this RuntimeException if the index is not valid.
public void set(int index,
java.lang.Object object)
set in interface IndexedSetInterfaceindex - the index of the item to storeObject - the object to store or associate with the index.
java.lang.IndexOutOfBoundsException - The implementor of this interface may throw
this RuntimeException if the index is not valid.public int count()
count in interface com.sas.util.Countable
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface com.sas.PublicClonableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the string comparator cannot be cloned.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||