public class Point extends Object
| Modifier and Type | Method and Description |
|---|---|
static Point |
at(double... array)
Factory method for creating
Point instances out of arrays of values. |
boolean |
equals(Object obj) |
static Point |
getDefault()
Constructor.
|
int |
hashCode() |
static Point |
random(int dimension) |
static Point |
random(int dimension,
double min,
double max) |
double[] |
toArray()
Returns the internal representation of this
Point object. |
int[] |
toIntArray() |
String |
toLogString() |
String |
toString() |
public static final Point at(double... array)
Point instances out of arrays of values. (Factory
method pattern)array - representing a pointPointpublic static final Point random(int dimension)
public static final Point random(int dimension, double min, double max)
public static final Point getDefault()
public double[] toArray()
Point object. The returned value is a
copy of the internal immutable state.public int[] toIntArray()
public String toLogString()
Copyright © 2021. All rights reserved.