Class ShortPair
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.ShortPair
-
@Equality public class ShortPair extends java.lang.Object
Aggregates two short integer values. Intended (and optimised) for use as a map key.- Since:
- 15 Jan 2015
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description ShortPair(short x, short y)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
short
getX()
Returns X value.short
getY()
Returns Y value.int
hashCode()
-