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