Package com.jogamp.nativewindow.util
Interface PointImmutable
-
- All Superinterfaces:
Comparable<PointImmutable>,WriteCloneable
- All Known Implementing Classes:
Point
public interface PointImmutable extends WriteCloneable, Comparable<PointImmutable>
Immutable Point interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompareTo(PointImmutable d)Compares the square of the position.booleanequals(Object obj)Checks whether two points objects are equal.intgetX()intgetY()inthashCode()-
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
-
-
-
-
Method Detail
-
getX
int getX()
-
getY
int getY()
-
compareTo
int compareTo(PointImmutable d)
Compares the square of the position.
- Specified by:
compareToin interfaceComparable<PointImmutable>
-
equals
boolean equals(Object obj)
Checks whether two points objects are equal. Two instances ofPointReadOnlyare equal if the two componentsyandxare equal.
-
-