Class XY

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class XY
    extends GSeriesValue
    The X/Y series value.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double x
      The X value.
      double y
      The Y value.
    • Constructor Summary

      Constructors 
      Constructor Description
      XY​(double x, double y)
      Constructor for the X/Y value point.
    • Field Detail

      • x

        public final double x
        The X value. An unspecified value is Double.NaN.
      • y

        public final double y
        The Y value. An unspecified value is Double.NaN.
    • Constructor Detail

      • XY

        public XY​(double x,
                  double y)
        Constructor for the X/Y value point.
        Parameters:
        x - The X value, Double.NaN for no value.
        y - The Y value, Double.NaN for no value.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Checks if two fill objects are equal.
        Specified by:
        equals in class GSeriesValue