|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.model.Point
public class Point
A model object that represents a point in cartesian co-ordinate system.
Note: Development of this component was sponsored by TCN Broadcasting. We are grateful for their support and sponsorship.
| Field Summary | |
|---|---|
int |
x
The x co-ordinate of the point. |
int |
y
The y co-ordinate of the point. |
| Constructor Summary | |
|---|---|
Point(int x,
int y)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare the specified object with this for equality. |
int |
getX()
Accessor for property 'x'. |
int |
getY()
Accessor for property 'y'. |
int |
hashCode()
Compute a hash code for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int x
public final int y
| Constructor Detail |
|---|
public Point(int x,
int y)
| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - The object that is to be compared.
true if the objects are equivalent.public int hashCode()
hashCode in class Objectpublic int getY()
public int getX()
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||