public class BitsRowSubset extends RowSubset
RowSubset.Key
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)
invert
argument indicates whether the sense of the
bit set is to be reversed prior to interpretation.name
- subset namebits
- flag vectorinvert
- whether to invert the bits from the BitSetpublic BitSet getBitSet()
BitSet
object used to store the inclusion
status flags.public boolean getInvert()
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.