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 booleanequals(java.lang.Object other)shortgetX()Returns X value.shortgetY()Returns Y value.inthashCode()
-