public final class LinearHistogramBuilder extends Object
LinearHistogram
s.Constructor and Description |
---|
LinearHistogramBuilder(double l,
double h,
int bincount)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
LinearHistogramBuilder |
add(double value)
Add a new value.
|
LinearHistogramBuilder |
addMultiple(LinearHistogramBuilder other)
Add multiple values represented by a histogram builder.
|
LinearHistogram |
build()
Build histogram.
|
Supplier<LinearHistogramBuilder> |
emptyCompatibleBuilder()
Create an empty compatible builder.
|
public LinearHistogramBuilder(double l, double h, int bincount)
l
- Lowest limith
- Highest limitbincount
- Bins countpublic LinearHistogramBuilder add(double value)
value
- Value to be addedpublic LinearHistogramBuilder addMultiple(LinearHistogramBuilder other)
other
- histogram to addpublic LinearHistogram build()
public final Supplier<LinearHistogramBuilder> emptyCompatibleBuilder()
addMultiple(com.chemaxon.overlap.result.impl.LinearHistogramBuilder)