litesoft
Diff Revisions
916
vs
917
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/PointXY.java
|
@@ -6,7 +6,7 @@ |
6 |
6 |
|
/** |
7 |
7 |
|
* @noinspection EqualsAndHashcode |
8 |
8 |
|
*/ |
9 |
|
- |
public class PointXY extends AbstractXY<PointXY> |
|
9 |
+ |
public final class PointXY extends AbstractXY<PointXY> |
10 |
10 |
|
{ |
11 |
11 |
|
private static final long serialVersionUID = 1L; |
12 |
12 |
|
|
|
@@ -37,6 +37,15 @@ |
37 |
37 |
|
((o instanceof PointXY) && LLequals( (PointXY) o )); |
38 |
38 |
|
} |
39 |
39 |
|
|
|
40 |
+ |
/** |
|
41 |
+ |
* Row (Y) then Column (X) |
|
42 |
+ |
*/ |
|
43 |
+ |
@Override |
|
44 |
+ |
public int compareTo( PointXY them ) |
|
45 |
+ |
{ |
|
46 |
+ |
return LLcompareTo( them ); |
|
47 |
+ |
} |
|
48 |
+ |
|
40 |
49 |
|
@Override |
41 |
50 |
|
protected int validate( String pWhat, int pValue ) |
42 |
51 |
|
{ |