public class Row extends Object implements Serializable
Constructor and Description |
---|
Row() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(int index,
Value vValue) |
void |
addValue(Value vValue) |
Enumeration<Value> |
enumerateValue()
Method enumerateValue.
|
Value[] |
getValue()
Method getValue.Returns the contents of the collection in an Array.
|
Value |
getValue(int index)
Method getValue.
|
List<Value> |
getValueCollection()
Method getValueCollection.Returns a reference to 'valueList'.
|
int |
getValueCount()
Method getValueCount.
|
Iterator<Value> |
iterateValue()
Method iterateValue.
|
void |
removeAllValue() |
boolean |
removeValue(Value vValue)
Method removeValue.
|
Value |
removeValueAt(int index)
Method removeValueAt.
|
void |
setValue(int index,
Value vValue) |
void |
setValue(List<Value> vValueList)
Sets the value of 'valueList' by copying the given Vector.
|
void |
setValue(Value[] vValueArray) |
void |
setValueCollection(List<Value> valueList)
Deprecated.
|
public void addValue(Value vValue) throws IndexOutOfBoundsException
vValue
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addValue(int index, Value vValue) throws IndexOutOfBoundsException
index
- vValue
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Enumeration<Value> enumerateValue()
public Value getValue(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Value[] getValue()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Value> getValueCollection()
public int getValueCount()
public Iterator<Value> iterateValue()
public void removeAllValue()
public boolean removeValue(Value vValue)
vValue
- public Value removeValueAt(int index)
index
- public void setValue(int index, Value vValue) throws IndexOutOfBoundsException
index
- vValue
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setValue(Value[] vValueArray)
vValueArray
- public void setValue(List<Value> vValueList)
vValueList
- the Vector to copy.Copyright © 2021. All rights reserved.