Package com.jogamp.nativewindow.util
Interface PointImmutable
- All Superinterfaces:
Comparable<PointImmutable>
,com.jogamp.common.type.WriteCloneable
- All Known Implementing Classes:
Point
public interface PointImmutable
extends com.jogamp.common.type.WriteCloneable, Comparable<PointImmutable>
Immutable Point interface
-
Method Summary
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
-
Method Details
-
getX
int getX() -
getY
int getY() -
compareTo
Compares the square of the position.
- Specified by:
compareTo
in interfaceComparable<PointImmutable>
-
equals
Checks whether two points objects are equal. Two instances ofPointReadOnly
are equal if the two componentsy
andx
are equal. -
hashCode
int hashCode()
-