Package htsjdk.samtools
Class BinningIndexContent.BinList
- java.lang.Object
-
- htsjdk.samtools.BinningIndexContent.BinList
-
- Enclosing class:
- BinningIndexContent
public static class BinningIndexContent.BinList extends Object implements Iterable<Bin>
This class is used to encapsulate the list of Bins store in the BAMIndexContent While it is currently represented as an array, we may decide to change it to an ArrayList or other structure
-
-
Field Summary
Fields Modifier and Type Field Description int
maxBinNumber
int
numberOfNonNullBins
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Bin
getBin(int binNumber)
int
getNumberOfNonNullBins()
int
hashCode()
Iterator<Bin>
iterator()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
BinList
public BinList(Bin[] binArray, int numberOfNonNullBins)
- Parameters:
binArray
- a sparse array representation of the bins. The index into the array is the bin number.numberOfNonNullBins
-
-
-