|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Vector
A collection of values of the same type.
| Method Summary | |
|---|---|
Class<?> |
getColumnClass()
Returns the most specific superclass for all the values in this vector. |
Comparator<Object> |
getComparator()
Returns the comparator used to compare values in this vector. |
String |
getName()
Returns the name of this vector. |
Object |
getProperty(Object key)
Gets the value for the specified key. |
Collection<Object> |
getPropertyKeys()
Returns a collection of all property keys in this vector. |
Object |
getValue(int index)
Returns the value at the specified index. |
void |
setColumnClass(Class<?> columnClass)
Sets the most specific superclass for all the values in this vector. |
void |
setComparator(Comparator<Object> comparator)
Sets the comparator used to compare values in this vector. |
void |
setProperty(Object key,
Object value)
Sets the property for the specified key. |
void |
setValue(int index,
Object value)
Sets the value at the specified index. |
int |
size()
Returns the number of elements in this vector. |
| Method Detail |
|---|
Class<?> getColumnClass()
Comparator<Object> getComparator()
String getName()
Collection<Object> getPropertyKeys()
Object getProperty(Object key)
key - the key
Object getValue(int index)
index - the index
void setColumnClass(Class<?> columnClass)
columnClass - the common ancestor class of the object values in this
instancevoid setComparator(Comparator<Object> comparator)
comparator - the comparator
void setProperty(Object key,
Object value)
key - the keyvalue - the value
void setValue(int index,
Object value)
index - the indexvalue - the valueint size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||