public class BooleanColumnRowSubset extends RowSubset
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 |
---|---|
uk.ac.starlink.table.ColumnInfo |
getColumnInfo() |
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 tablejava.lang.IllegalArgumentException
- 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 questionpublic uk.ac.starlink.table.ColumnInfo getColumnInfo()
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.