Package com.jogamp.nativewindow.util
Interface DimensionImmutable
-
- All Superinterfaces:
Comparable<DimensionImmutable>,WriteCloneable
- All Known Implementing Classes:
Dimension
public interface DimensionImmutable extends WriteCloneable, Comparable<DimensionImmutable>
Immutable Dimension Interface, consisting of it's read only components:
widthheight
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompareTo(DimensionImmutable d)Compares square of size.booleanequals(Object obj)Checks whether two dimensions objects are equal.intgetHeight()intgetWidth()inthashCode()-
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
-
-
-
-
Method Detail
-
getHeight
int getHeight()
-
getWidth
int getWidth()
-
compareTo
int compareTo(DimensionImmutable d)
Compares square of size.
- Specified by:
compareToin interfaceComparable<DimensionImmutable>
-
equals
boolean equals(Object obj)
Checks whether two dimensions objects are equal. Two instances ofDimensionReadOnlyare equal if two componentsheightandwidthare equal.
-
-