Class AbstractDerivative.Point

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    AbstractDerivative<T extends DataContainer>

    public static class AbstractDerivative.Point
    extends Object
    implements Serializable
    Container class for abundance and timestamp in double format. In order to avoid rounding after every derivation step.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_X

        protected double m_X
        the X value.
      • m_Y

        protected double m_Y
        the Y value.
    • Constructor Detail

      • Point

        public Point​(double x,
                     double y)
        Initializes the point.
        Parameters:
        x - the x as double
        y - the y as double
    • Method Detail

      • getX

        public double getX()
        Returns the X value.
        Returns:
        the X value
      • getY

        public double getY()
        Returns the Y value.
        Returns:
        the Y value
      • setY

        public void setY​(double value)
        Sets the Y value.
        Parameters:
        value - the Y value
      • toString

        public String toString()
        Returns the point as string.
        Overrides:
        toString in class Object
        Returns:
        a string representation