Class Statistics


  • public class Statistics
    extends Object
    For computing statistics on binnable data.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • Statistics

        public Statistics()
    • Method Detail

      • minMax

        public static <T> com.github.fracpete.javautils.struct.Struct2<Double,​Double> minMax​(List<Binnable<T>> data)
        Determines the min/max of the values.
        Type Parameters:
        T - the payload type
        Parameters:
        data - the list to process
        Returns:
        the min/max