|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VTable
A table. Tables are collections of columns, each of which is composed of a String representing the name of the column and an array of a particular type (all elements of the same column must be of the same type).
Method Summary | |
---|---|
java.lang.Object |
getColumnArray(int column)
The data for the given column. |
int |
getColumnCount()
The number of columns in the table. |
java.lang.String |
getColumnName(int column)
The name of the given column. |
java.lang.Class<?> |
getColumnType(int column)
The type of the elements in the column. |
int |
getRowCount()
The number of rows in the table. |
Method Detail |
---|
int getColumnCount()
int getRowCount()
Currently, is not clear whether all columns actually have the same number of rows, that is if all arrays have the same length. In the case of variable row, this will return the maximum row count, that is the length of the longest array/column.
java.lang.Class<?> getColumnType(int column)
getColumnArray(int)
will return
an array of primitives.
column
- the column index
java.lang.String getColumnName(int column)
column
- the column index
java.lang.Object getColumnArray(int column)
column
- the column index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |