Class Node

  • All Implemented Interfaces:
    java.io.Serializable

    public class Node
    extends java.lang.Object
    implements java.io.Serializable
    A Simple Node Class Helper for x,y Values.
    Author:
    jek
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Integer x
      x Coordinate.
      java.lang.Integer y
      y Coordinate.
    • Constructor Summary

      Constructors 
      Constructor Description
      Node​(java.lang.Integer aX, java.lang.Integer aY)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        public final java.lang.Integer x
        x Coordinate.
      • y

        public final java.lang.Integer y
        y Coordinate.
    • Constructor Detail

      • Node

        public Node​(java.lang.Integer aX,
                    java.lang.Integer aY)
        Constructor.
        Parameters:
        aX - as x
        aY - as y
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object