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:
compareToin interfaceComparable<PointImmutable>
-
equals
Checks whether two points objects are equal. Two instances ofPointReadOnlyare equal if the two componentsyandxare equal. -
hashCode
int hashCode()
-