public class BitsRowSubset extends RowSubset
Constructor and Description |
---|
BitsRowSubset(String name,
BitSet bits)
Constructs a new row subset with a given BitSet and name.
|
BitsRowSubset(String name,
BitSet bits,
boolean invert)
Constructs a new row subset with a given BitSet, name and sense.
|
Modifier and Type | Method and Description |
---|---|
BitSet |
getBitSet()
Returns the BitSet object used to store the inclusion
status flags.
|
boolean |
getInvert()
Returns the inversion sense of the inclusion flags represented by
this subset relative to the bit set.
|
boolean |
isIncluded(long lrow)
Indicates whether a given row is in the subset or not.
|
public BitsRowSubset(String name, BitSet bits, boolean invert)
name
- subset namebits
- flag vectorinvert
- whether to invert the bits from the BitSetpublic BitSet getBitSet()
public boolean getInvert()
public boolean isIncluded(long lrow)
RowSubset
isIncluded
in class RowSubset
lrow
- the index of the row in questionCopyright © 2003-2019 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.