Klasse CoupleCreationTO

java.lang.Object
org.opentcs.access.to.model.CoupleCreationTO
Alle implementierten Schnittstellen:
Serializable

public class CoupleCreationTO extends Object implements Serializable
A transfer object describing generic 2-tuple of long integer values.
Siehe auch:
  • Konstruktordetails

    • CoupleCreationTO

      public CoupleCreationTO(long x, long y)
      Creates a new instance.
      Parameter:
      x - The X coordinate.
      y - The Y coordinate.
  • Methodendetails

    • getX

      public long getX()
      Returns the x coordinate.
      Gibt zurück:
      The x coordinate.
    • withX

      public CoupleCreationTO withX(long x)
      Creates a copy of this object, with the given x coordinate.
      Parameter:
      x - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getY

      public long getY()
      Returns the y coordinate.
      Gibt zurück:
      The y coordinate.
    • withY

      public CoupleCreationTO withY(long y)
      Creates a copy of this object, with the given y coordinate.
      Parameter:
      y - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.