@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public class Point
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
x
The 'x' coordinate.
|
int |
y
The 'y' coordinate.
|
Constructor and Description |
---|
Point(int x,
int y)
Creates a new Point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public Point(int x, int y)
x
- X coord.y
- Y coord.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.