Package htsjdk.samtools.util
Class Histogram.Bin<K extends Comparable>
- java.lang.Object
-
- htsjdk.samtools.util.Histogram.Bin<K>
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Histogram<K extends Comparable>
public static class Histogram.Bin<K extends Comparable> extends Object implements Serializable
Represents a bin in the Histogram.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Checks the equality of the bin by ID and value.K
getId()
Gets the ID of this bin.double
getIdValue()
double
getValue()
Gets the value in the bin.int
hashCode()
String
toString()
Returns the String format for the value in the bin.
-
-
-
Method Detail
-
getId
public K getId()
Gets the ID of this bin.
-
getValue
public double getValue()
Gets the value in the bin.
-
toString
public String toString()
Returns the String format for the value in the bin.
-
equals
public boolean equals(Object o)
Checks the equality of the bin by ID and value.
-
getIdValue
public double getIdValue()
-
-