public class GenericObjectTable<T> extends ObjectTable<T>
| Constructor and Description | 
|---|
GenericObjectTable()
Creates a new object table. 
 | 
GenericObjectTable(int increment)
Creates a new table. 
 | 
GenericObjectTable(int rowIncrement,
                  int colIncrement)
Creates a new table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
copyColumn(int oldColumn,
          int newColumn)
Copys the contents of the old column to the new column. 
 | 
void | 
copyRow(int oldRow,
       int newRow)
Copys the contents of the old row to the new row. 
 | 
T | 
getObject(int row,
         int column)
Returns the object from a particular cell in the table. 
 | 
void | 
setObject(int row,
         int column,
         T object)
Sets the object for a cell in the table. 
 | 
clear, clearRow, ensureCapacity, equals, getColumnCount, getColumnIncrement, getRowCount, getRowIncrement, hashCodepublic GenericObjectTable()
public GenericObjectTable(int increment)
increment - the row and column size increment.public GenericObjectTable(int rowIncrement,
                  int colIncrement)
rowIncrement - the row size increment.colIncrement - the column size increment.public T getObject(int row, int column)
row - the row index (zero-based).column - the column index (zero-based).public void setObject(int row,
             int column,
             T object)
row - the row index (zero-based).column - the column index (zero-based).object - the object.public void copyColumn(int oldColumn,
              int newColumn)
oldColumn - the index of the old (source) columnnewColumn - the index of the new columnpublic void copyRow(int oldRow,
           int newRow)
oldRow - the index of the old rownewRow - the index of the new row