public class Rows extends Object implements Serializable
| Constructor and Description | 
|---|
| Rows() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addRow(int index,
      Row vRow) | 
| void | addRow(Row vRow) | 
| Enumeration<Row> | enumerateRow()Method enumerateRow. | 
| Row[] | getRow()Method getRow.Returns the contents of the collection in an Array. | 
| Row | getRow(int index)Method getRow. | 
| List<Row> | getRowCollection()Method getRowCollection.Returns a reference to 'rowList'. | 
| int | getRowCount()Method getRowCount. | 
| Iterator<Row> | iterateRow()Method iterateRow. | 
| void | removeAllRow() | 
| boolean | removeRow(Row vRow)Method removeRow. | 
| Row | removeRowAt(int index)Method removeRowAt. | 
| void | setRow(int index,
      Row vRow) | 
| void | setRow(List<Row> vRowList)Sets the value of 'rowList' by copying the given Vector. | 
| void | setRow(Row[] vRowArray) | 
| void | setRowCollection(List<Row> rowList)Deprecated.   | 
public void addRow(Row vRow) throws IndexOutOfBoundsException
vRow - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void addRow(int index,
                   Row vRow)
            throws IndexOutOfBoundsException
index - vRow - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic Enumeration<Row> enumerateRow()
public Row getRow(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic Row[] getRow()
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<Row> getRowCollection()
public int getRowCount()
public Iterator<Row> iterateRow()
public void removeAllRow()
public boolean removeRow(Row vRow)
vRow - public Row removeRowAt(int index)
index - public void setRow(int index,
                   Row vRow)
            throws IndexOutOfBoundsException
index - vRow - IndexOutOfBoundsException - if the index given is outside
 the bounds of the collectionpublic void setRow(Row[] vRowArray)
vRowArray - public void setRow(List<Row> vRowList)
vRowList - the Vector to copy.Copyright © 2021. All rights reserved.