public class SpanLimit extends Object implements Combinable<SpanLimit>
Modifier and Type | Field and Description |
---|---|
long |
end |
double |
limit |
long |
start |
double |
value |
Constructor and Description |
---|
SpanLimit(long start,
long end,
double mass,
double limit) |
Modifier and Type | Method and Description |
---|---|
SpanLimit |
combineWith(SpanLimit other)
Combine this object with another object if it is possible and return a combined object.
|
static SpanLimit |
getMaxSpan(SpanLimit[] clusters) |
static SpanLimit |
getMaxValue(SpanLimit[] clusters) |
String |
toString() |
public final long start
public final long end
public final double value
public final double limit
public SpanLimit combineWith(SpanLimit other)
Combinable
null
in that case.combineWith
in interface Combinable<SpanLimit>
other
- an object to combine this object withnull
if the objects shouldn't be combinedCopyright © 2020. All rights reserved.