|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Point
CLASS: Point
PURPOSE: This class represent a point that contain an x y components
(both int)
IMPORT: None
EXPORT: New Class|Point
New Methods|Point,copyClone
Field Summary | |
int |
x
x component of a point |
int |
y
y component of a point |
Constructor Summary | |
Point(int x,
int y)
PRE: None POST: Construct and initialize a Point object |
Method Summary | |
Point |
copyClone()
PRE: None POST: Creat a new copy of a Point instance |
Methods inherited from class java.lang.Object |
|
Field Detail |
public int x
public int y
Constructor Detail |
public Point(int x, int y)
Method Detail |
public Point copyClone()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |