Record Class HistogramBin
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.HistogramBin
Histogram bin used for time-to-target distributions.
-
Constructor Summary
ConstructorsConstructorDescriptionHistogramBin(double startInclusive, double endExclusive, long count) Creates an instance of aHistogramBinrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcount()Returns the value of thecountrecord component.doubleReturns the value of theendExclusiverecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thestartInclusiverecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HistogramBin
public HistogramBin(double startInclusive, double endExclusive, long count) Creates an instance of aHistogramBinrecord class.- Parameters:
startInclusive- the value for thestartInclusiverecord componentendExclusive- the value for theendExclusiverecord componentcount- the value for thecountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
startInclusive
public double startInclusive()Returns the value of thestartInclusiverecord component.- Returns:
- the value of the
startInclusiverecord component
-
endExclusive
public double endExclusive()Returns the value of theendExclusiverecord component.- Returns:
- the value of the
endExclusiverecord component
-
count
public long count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-