public interface ConstIntPair
x
, y
) of int values.ConstIntPair
.IntPair
by IntPair.constView()
.IntPairFix
,
IntPair
Modifier and Type | Method and Description |
---|---|
default Dimension |
asDim()
Make a Dimension.
|
default IntPairFix |
asIntPairFix()
Make a IntPairFix object.
|
default Point |
asPoint()
Make a Point.
|
default String |
asString()
As String (x, y).
|
default int |
calcHash()
Calculate the hash value.
|
default boolean |
equals(ConstIntPair o)
Compare with other Object.
|
int |
getX()
The first value (x, width, real and else).
|
int |
getY()
The second value (y, height, imaginary and else).
|
int getX()
int getY()
default Dimension asDim()
default Point asPoint()
default IntPairFix asIntPairFix()
IntPairFix
object that holds (freezes) the current
state of this ConstIntPair objectdefault boolean equals(ConstIntPair o)
default int calcHash()
default String asString()