public class ValuePoint extends Object implements Comparable<ValuePoint>
| Modifier and Type | Method and Description |
|---|---|
static ValuePoint |
at(Point p,
double value)
Constructor.
|
int |
compareTo(ValuePoint o) |
boolean |
equals(Object obj) |
static ValuePoint |
getDefault()
Constructor.
|
Point |
getPoint()
Getter.
|
double |
getValue()
Getter.
|
int |
hashCode() |
String |
toString() |
public static ValuePoint getDefault()
public static ValuePoint at(Point p, double value)
p - coordinates.value - the payload.public double getValue()
public Point getPoint()
public int compareTo(ValuePoint o)
compareTo in interface Comparable<ValuePoint>Copyright © 2021. All rights reserved.