public class BooleanColumnRowSubset extends RowSubset
RowSubset.Key
Constructor and Description |
---|
BooleanColumnRowSubset(uk.ac.starlink.table.StarTable startab,
int icol)
Constructs a row subset from a given StarTable and column index.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
Returns the index of the column in the table on which this
subset's contents are based.
|
uk.ac.starlink.table.StarTable |
getTable()
Returns the table from whose column this subset is based.
|
boolean |
isIncluded(long lrow)
Indicates whether a given row is in the subset or not.
|
public BooleanColumnRowSubset(uk.ac.starlink.table.StarTable startab, int icol)
startab
- the tableicol
- the index of the column in that tableIllegalArgumentException
- if the content class of the
table column is not Booleanpublic boolean isIncluded(long lrow)
RowSubset
isIncluded
in class RowSubset
lrow
- the index of the row in questiontrue
iff row lrow
is to be includedpublic uk.ac.starlink.table.StarTable getTable()
public int getColumnIndex()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.