Interface FromToWeightModel

    • Method Detail

      • getWeight

        Number getWeight​(Comparable<?> series,
                         int index)
        Get weight value of a specified series and data index.
        Parameters:
        series - the series.
        index - the data index.
      • addValue

        void addValue​(Comparable<?> series,
                      String from,
                      String to,
                      Number weight)
        Append a (from, to, weight) into a series.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
        weight - the weight value.
      • addValue

        void addValue​(Comparable<?> series,
                      String from,
                      String to,
                      Number weight,
                      int index)
        Add a (from, to, weight) into a series at the specified index.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
        weight - the weight value.
        index - the data index.
      • setValue

        void setValue​(Comparable<?> series,
                      String from,
                      String to,
                      Number weight,
                      int index)
        Replace a (from, to, weight) into a series at the specified index.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
        weight - the weight value.
        index - the data index.