|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.graphics.Point
Safe:
Field Summary | |
int |
x
Enabled: the x coordinate of the point |
int |
y
Enabled: the y coordinate of the point |
Constructor Summary | |
Point(int x,
int y)
Enabled: Constructs a new point with the given x and y coordinates. |
Method Summary | |
boolean |
equals(Object object)
Suppressed: Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
int |
hashCode()
Suppressed: Returns an integer hash code for the receiver. |
String |
toString()
Suppressed: Returns a string containing a concise, human-readable description of the receiver. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public int x
public int y
Constructor Detail |
public Point(int x, int y)
x
- the x coordinate of the new pointy
- the y coordinate of the new pointMethod Detail |
public boolean equals(Object object)
equals
in class Object
object
- the object to compare with this object
true
if the object is the same as this object and false
otherwisehashCode()
public int hashCode()
true
when passed to
equals
must return the same value for this
method.
hashCode
in class Object
equals(java.lang.Object)
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |