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