public class BitsRowSubset extends RowSubset
| Constructor and Description |
|---|
BitsRowSubset(java.lang.String name,
java.util.BitSet bits)
Constructs a new row subset with a given BitSet and name.
|
BitsRowSubset(java.lang.String name,
java.util.BitSet bits,
boolean invert)
Constructs a new row subset with a given BitSet, name and sense.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.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(java.lang.String name,
java.util.BitSet bits,
boolean invert)
name - subset namebits - flag vectorinvert - whether to invert the bits from the BitSetpublic BitsRowSubset(java.lang.String name,
java.util.BitSet bits)
name - subset namebits - flag vectorpublic java.util.BitSet getBitSet()
public boolean getInvert()
public boolean isIncluded(long lrow)
RowSubsetisIncluded in class RowSubsetlrow - the index of the row in questionCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.