Class IntPair


  • public class IntPair
    extends Object
    A pair of ints. Note that an IntPair has value semantics.
    • Constructor Detail

      • IntPair

        public IntPair​(int x,
                       int y)
    • Method Detail

      • getX

        public int getX()
        Returns:
        Returns the x.
      • getY

        public int getY()
        Returns:
        Returns the y.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • make

        public static IntPair make​(int x,
                                   int y)