|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.util.ObjectTable
public class ObjectTable
A lookup table for objects. This implementation is not synchronized, it is up to the caller to synchronize it properly.
Constructor Summary | |
---|---|
ObjectTable()
Creates a new table. |
|
ObjectTable(int increment)
Creates a new table. |
|
ObjectTable(int rowIncrement,
int colIncrement)
Creates a new table. |
Method Summary | |
---|---|
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(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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(Object o)
ObjectTable
).
equals
in class Object
o
- the other object.
public int hashCode()
hashCode
in class Object
public void clear()
public void clearRow(int row)
row
- the row to be deleted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |