Intel

Developer Zone

XYPair

com.intel.ui

Class XYPair

  • java.lang.Object
    • com.intel.ui.XYPair


  • public class XYPair
    extends java.lang.Object
    This class represents a pair of numbers that symbolize either size or location
    • Constructor Summary

      Constructors
      Constructor and Description
      XYPair(short x, short y)
      Creates a new XYPair with specific X and Y.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      short getX()
      Returns the X representation of the pair.
      short getY()
      Returns the Y representation of the pair.
      • Methods inherited from class java.lang.Object

        equals, hashCode, toString
    • Constructor Detail

      • XYPair

        public XYPair(short x,
              short y)
        Creates a new XYPair with specific X and Y.
        Parameters:
        x - the X representation of the pair
        y - the Y representation of the pair
    • Method Detail

      • getX

        public short getX()
        Returns the X representation of the pair.
        Returns:
        Returns the X representation of the pair.
      • getY

        public short getY()
        Returns the Y representation of the pair.
        Returns:
        Returns the Y representation of the pair.