Package com.jogamp.nativewindow.util
Interface DimensionImmutable
- All Superinterfaces:
Comparable<DimensionImmutable>
,com.jogamp.common.type.WriteCloneable
- All Known Implementing Classes:
Dimension
public interface DimensionImmutable
extends com.jogamp.common.type.WriteCloneable, Comparable<DimensionImmutable>
Immutable Dimension Interface, consisting of it's read only components:
width
height
-
Method Summary
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
-
Method Details
-
getHeight
int getHeight() -
getWidth
int getWidth() -
compareTo
Compares square of size.
- Specified by:
compareTo
in interfaceComparable<DimensionImmutable>
-
equals
Checks whether two dimensions objects are equal. Two instances ofDimensionReadOnly
are equal if two componentsheight
andwidth
are equal. -
hashCode
int hashCode()
-