public interface PointImmutable extends WriteCloneable, Comparable<PointImmutable>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PointImmutable d)
Compares the square of the position.
|
boolean |
equals(Object obj)
Checks whether two points objects are equal.
|
int |
getX() |
int |
getY() |
int |
hashCode() |
cloneMutableint getX()
int getY()
int compareTo(PointImmutable d)
Compares the square of the position.
compareTo in interface Comparable<PointImmutable>boolean equals(Object obj)
PointReadOnly are equal if the two components
y and x are equal.Copyright 2010 JogAmp Community.