Class BinningIndexContent.BinList

  • All Implemented Interfaces:
    Iterable<Bin>
    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 Detail

      • numberOfNonNullBins

        public final int numberOfNonNullBins
      • maxBinNumber

        public final int maxBinNumber
    • 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 -