java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Chip

public class Chip extends Object
Describes a chip by its X,Y location.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the x-coordinate of the chip.
    int
    Get the y-coordinate of the chip.
    void
    setX(int x)
    Set the x-coordinate of the chip.
    void
    setY(int y)
    Set the y-coordinate of the chip.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Chip

      public Chip()
  • Method Details

    • getX

      public int getX()
      Get the x-coordinate of the chip.
      Returns:
      The x-coordinate of the chip
    • setX

      public void setX(int x)
      Set the x-coordinate of the chip.
      Parameters:
      x - The x-coordinate of the chip
    • getY

      public int getY()
      Get the y-coordinate of the chip.
      Returns:
      The y-coordinate of the chip
    • setY

      public void setY(int y)
      Set the y-coordinate of the chip.
      Parameters:
      y - The y-coordinate of the chip