java.io.SerializableGenericObjectTablepublic class ObjectTable
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
ObjectTable() |
Creates a new table.
|
ObjectTable(int increment) |
Creates a new table.
|
ObjectTable(int rowIncrement,
int colIncrement) |
Creates a new table.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
Clears the table.
|
void |
clearRow(int row) |
Clears the row by removing the array that stores the row-data.
|
void |
ensureCapacity(int row,
int column) |
Ensures that there is storage capacity for the specified item.
|
boolean |
equals(java.lang.Object o) |
Tests this paint table for equality with another object (typically also
an
ObjectTable). |
int |
getColumnCount() |
Returns the number of columns in the table.
|
int |
getColumnIncrement() |
Returns the column size increment.
|
int |
getRowCount() |
Returns the number of rows in the table.
|
int |
getRowIncrement() |
Returns the row size increment.
|
int |
hashCode() |
Returns a hash code value for the object.
|
public ObjectTable()
public ObjectTable(int increment)
increment - the row and column size increment.public ObjectTable(int rowIncrement,
int colIncrement)
rowIncrement - the row size increment.colIncrement - the column size increment.public int getColumnIncrement()
public int getRowIncrement()
public void ensureCapacity(int row,
int column)
row - the row index.column - the column index.public int getRowCount()
public int getColumnCount()
public boolean equals(java.lang.Object o)
ObjectTable).equals in class java.lang.Objecto - the other object.public int hashCode()
hashCode in class java.lang.Objectpublic void clear()
public void clearRow(int row)
row - the row to be deleted.