public class SingleRowSubset extends RowSubset
getMaskId()
return value depends on the state, not the identity.RowSubset.Key
Constructor and Description |
---|
SingleRowSubset(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getMaskId()
Returns a value dependent on the selected row.
|
long |
getRowIndex()
Returns the included row index.
|
boolean |
isIncluded(long lrow)
Indicates whether a given row is in the subset or not.
|
void |
setRowIndex(long lrow)
Sets the included row index.
|
public SingleRowSubset(String name)
name
- subset namepublic void setRowIndex(long lrow)
lrow
- index of single included row, or -1 for no rowspublic long getRowIndex()
public boolean isIncluded(long lrow)
RowSubset
isIncluded
in class RowSubset
lrow
- the index of the row in questiontrue
iff row lrow
is to be includedCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.