Package jcckit.data

Class DataPoint

  • All Implemented Interfaces:
    DataElement

    public class DataPoint
    extends Point
    implements DataElement
    Immutable two-dimensional point in data coordinates.
    Author:
    Franz-Josef Elmer
    • Constructor Detail

      • DataPoint

        public DataPoint​(double x,
                         double y)
    • Method Detail

      • getContainer

        public DataContainer getContainer()
        Returns always null.
        Specified by:
        getContainer in interface DataElement
        Returns:
        null if this element is not an element of a container.
      • setContainer

        public void setContainer​(DataContainer container)
        Does nothing.
        Specified by:
        setContainer in interface DataElement
        Parameters:
        container - Container which should contains this element. Cann be null if this element does not belong to a container.