Class Statistics


  • public final class Statistics
    extends Object
    A set of function for statistical analyze.
    • Method Detail

      • max

        public static <T extends Comparable<T>> T max​(T... values)
        Returns the greatest of values. If values are equal, the first instance will return.
      • min

        public static <T extends Comparable<T>> T min​(T... values)
        Returns the smallest of values. If values are equal, the first instance will return.