public class Coordinates extends Object
Constructor and Description |
---|
Coordinates(double xValue,
double yValue)
Creates a new
Coordinates instance with the specified initial
values. |
Modifier and Type | Method and Description |
---|---|
static Coordinates |
calculateXYCoordinates(double x,
double y,
int size) |
boolean |
equals(Object object) |
double |
getX() |
double |
getY() |
int |
hashCode() |
String |
toString() |
public Coordinates(double xValue, double yValue)
Coordinates
instance with the specified initial
values.xValue
- the x valueyValue
- the y valuepublic static Coordinates calculateXYCoordinates(double x, double y, int size)
public double getX()
public double getY()
Copyright © 2014–2020. All rights reserved.