@Immutable public final class Position extends Object
Constructor | Description |
---|---|
Position(double first,
double second,
double... remaining) |
Construct an instance.
|
Position(List<Double> values) |
Construct an instance.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
List<Double> |
getValues() |
Gets the values of this position
|
int |
hashCode() |
|
String |
toString() |
public Position(List<Double> values)
values
- the non-null valuespublic Position(double first, double second, double... remaining)
first
- the first valuesecond
- the second valueremaining
- the remaining values