|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.fonts.tools.ByteTable
public class ByteTable
A lookup table for objects. This implementation is not synchronized, it is up to the caller to synchronize it properly.
Constructor Summary | |
---|---|
ByteTable(int rows,
int cols)
Creates a new table. |
Method Summary | |
---|---|
void |
clear(byte value)
Clears the table. |
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 ). |
byte |
getByte(int row,
int column,
byte defaultValue)
Returns the object from a particular cell in the table. |
int |
getColumnCount()
Returns the number of columns in the table. |
int |
getRowCount()
Returns the number of rows in the table. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setByte(int row,
int column,
byte object)
Sets the object for a cell in the table. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteTable(int rows, int cols)
rows
- the inital number of rows.cols
- the initial number of columns.Method Detail |
---|
public void ensureCapacity(int row, int column)
row
- the row index.column
- the column index.public int getRowCount()
public int getColumnCount()
public byte getByte(int row, int column, byte defaultValue)
row
- the row index (zero-based).column
- the column index (zero-based).
public void setByte(int row, int column, byte object)
row
- the row index (zero-based).column
- the column index (zero-based).object
- the object.public boolean equals(java.lang.Object o)
ObjectTable
).
equals
in class java.lang.Object
o
- the other object.
public int hashCode()
hashCode
in class java.lang.Object
public void clear(byte value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |