|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface StaticColumnTemplateTableInterface
Defines an interface for accessing column template tables. Column template tables are tables where the set of row classes defines a template for each column. In other words, the class of each cell is restricted to the class, or a subclass, of its corresponding row. A transposed SAS data set is an example of such a table.
ColumnTemplateTableInterface,
StaticRowTemplateTableInterface| Method Summary | |
|---|---|
abstract java.lang.Class |
getRowClass(int index)
Returns the class of a row. |
abstract java.lang.Class[] |
getRowClasses(int startIndex,
int count)
Returns the classes for a range of rows. |
| Methods inherited from interface com.sas.table.StaticTableInterface |
|---|
countColumns, countRows, getCell, getCellClass, getCellClasses, getCells, getColumn, getColumnCount, getRow, getRowCount |
| Method Detail |
|---|
java.lang.Class getRowClass(int index)
throws com.sas.table.TableException
index - A one-based index that identifies the row.
TableException - Provides a catch-all for all non-RuntimeExceptions.
java.lang.IndexOutOfBoundsException - Thrown if index is negative, zero, or greater than the number of
rows.
java.lang.Class[] getRowClasses(int startIndex,
int count)
throws com.sas.table.TableException
startIndex - A one-based index which identifies the start of the range.count - The number of classes to return; defines the extent of the range.
TableException - Provides a catch-all for all non-RuntimeExceptions.
java.lang.IndexOutOfBoundsException - Thrown if startIndex or count is negative, zero, or greater than the
number of rows except when getRowCount has returned -1. In
that case, the implementation should return an array whose length
is less than count and the caller should be prepared for this.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||