public abstract class RowSubset
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static RowSubset |
ALL
A subset containing all rows (isIncluded always true).
|
static RowSubset |
NONE
A subset containing no rows (isIncluded always false).
|
Constructor and Description |
---|
RowSubset(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of this subset.
|
abstract boolean |
isIncluded(long lrow)
Indicates whether a given row is in the subset or not.
|
void |
setName(java.lang.String name)
Sets the name of this subset.
|
java.lang.String |
toString()
Returns this subset's name.
|
public static RowSubset ALL
public static RowSubset NONE
public RowSubset(java.lang.String name)
name
- subset namepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- new namepublic abstract boolean isIncluded(long lrow)
lrow
- the index of the row in questionpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.