Class Values


  • public class Values
    extends Object
    For extracting/changing the values from binnable lists.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • Values

        public Values()
    • Method Detail

      • toDoubleArray

        public static <T> double[] toDoubleArray​(List<Binnable<T>> objects)
        Turns the values of the binnable objects into a double array.
        Parameters:
        objects - the binnable objects to get the values from
        Returns:
        the values as array
      • toNumberArray

        public static <T> Number[] toNumberArray​(List<Binnable<T>> objects)
        Turns the values of the binnable objects into a number array.
        Parameters:
        objects - the binnable objects to get the values from
        Returns:
        the values as array