public class SpanSquare extends Object implements Combinable<SpanSquare>
| Modifier and Type | Field and Description |
|---|---|
double |
density |
long |
end |
long |
mass |
long |
start |
| Constructor and Description |
|---|
SpanSquare(long start,
long end) |
SpanSquare(long start,
long end,
long mass) |
| Modifier and Type | Method and Description |
|---|---|
SpanSquare |
combineWith(SpanSquare other)
Combine this object with another object if it is possible and return a combined object.
|
static SpanSquare |
getMax(SpanSquare[] clusters) |
String |
toString() |
public final long start
public final long end
public final long mass
public final double density
public SpanSquare(long start,
long end)
public SpanSquare(long start,
long end,
long mass)
public SpanSquare combineWith(SpanSquare other)
Combinablenull
in that case.combineWith in interface Combinable<SpanSquare>other - an object to combine this object withnull if the objects shouldn't be combinedpublic static SpanSquare getMax(SpanSquare[] clusters)
JDK Mission Control v 8.0.1
Copyright © 2018-2021, Oracle and/or its affiliates. All rights reserved. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl