Package ubic.basecode.dataStructure
Class Point
java.lang.Object
ubic.basecode.dataStructure.Point
- Direct Known Subclasses:
Link
- Author:
- Paul Pavlidis
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Point
public Point(int i, int j) - Parameters:
i
-j
-
-
-
Method Details
-
equals
-
get
public int[] get()- Returns:
- array containing the coordinates x,y.
-
getx
public int getx()- Returns:
- x the x value.
-
gety
public int gety()- Returns:
- y the y value.
-
hashCode
public int hashCode() -
set
public void set(int i, int j) - Parameters:
i
-j
-
-
toString
-