Class Point2D

java.lang.Object
it.ramecera.salad.everyday.Point2D

public class Point2D
extends java.lang.Object

Bean container for a 2-dimensional point.

Company: Rameceraâ„¢
Creation date: 2020-06-13
Last updated: 2020-06-13

Changes:

Since:
1.2.3
Author:
M. Maglioni
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int column
    x coordinate
    int row
    y coordinate
  • Constructor Summary

    Constructors 
    Constructor Description
    Point2D()
    default constructor
    Point2D​(int y, int x)
    Useful constructor
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • row

      public int row
      y coordinate
    • column

      public int column
      x coordinate
  • Constructor Details

    • Point2D

      public Point2D()
      default constructor
    • Point2D

      public Point2D​(int y, int x)

      Useful constructor

      Creation date: 2020-04-09
      Last updated: 2020-04-09

      Modifications:

      Parameters:
      y - the row
      x - the column