Package uk.ac.starlink.table
Interface CalcStarTable.Col<C,T>
- Type Parameters:
C
- calculation object typeT
- column content class type (must match ColumnInfo.getContentClass() result)
- Enclosing class:
- CalcStarTable<C>
public static interface CalcStarTable.Col<C,T>
Defines a column for use with this table implementation.
It supplies column metadata, and a mapping from a calculation object
to the column data.
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Returns the metadata for this column.Returns the value for this column extracted from a given calculation object.
-
Method Details
-
getInfo
ColumnInfo getInfo()Returns the metadata for this column.- Returns:
- column metadata
-
getValue
Returns the value for this column extracted from a given calculation object.- Parameters:
calculation
- calculation object- Returns:
- column value
-