Class NumberData<T extends Number>

    • Constructor Detail

      • NumberData

        public NumberData​(T value)
        Instantiates a new number data.
        Parameters:
        value - the value
    • Method Detail

      • getData

        public T getData()
        Description copied from interface: ChartData
        Gets the data.
        Specified by:
        getData in interface ChartData<T extends Number>
        Returns:
        the data
      • size

        public int size()
        Gets the size of the data.
        Specified by:
        size in interface ChartData<T extends Number>
        Returns:
        the data
      • setValue

        public void setValue​(T value)
        Sets the value.
        Parameters:
        value - the new value