Package htsjdk.samtools
Class BinList
- java.lang.Object
-
- htsjdk.samtools.BinList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BitSet
getBins()
Retrieves the bins stored in this list.protected int
getReferenceSequence()
Get the reference sequence to which this bin belongs.Iterator<Bin>
iterator()
Gets an iterator over all selected bins.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
BinList
protected BinList(int referenceSequence, BitSet bins)
Create a new BinList over sequenceCount sequences, consisting of the given bins.- Parameters:
referenceSequence
- Reference sequence to which these bins are relevant.bins
- The given bins to include.
-
-
Method Detail
-
getReferenceSequence
protected int getReferenceSequence()
Get the reference sequence to which this bin belongs.- Returns:
- Integer representing the reference sequence.
-
getBins
protected BitSet getBins()
Retrieves the bins stored in this list.- Returns:
- A bitset where a bin is present in the list if the bit is true.
-
-