public class Point extends AbstractDatatype
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
UID for serialization.
|
private int |
x |
private int |
y |
private static final long serialVersionUID
private int x
getX()private int y
getY()protected Point()
public Point(int x,
int y)
x - is the x-position.y - is the y-position.public String toString()
String representation of this Datatype. While the general contract of
Object.toString() is very weak and mainly used for debugging, the contract here is very strong. The
returned String has to be suitable for end-users and official output to any kind of sink. NlsMessage for
this purpose and implement NlsObject if you want to support I18N/L10N.Copyright © 2001–2016 mmm-Team. All rights reserved.