docs: public static Statistics statisticsFor( long[] values ) {
          int length = values.length;
          if (length == 0) return EMPTY_STATISTICS;
          if (length == 1) return statisticsFor(values[0]);
          long total = 0L;
          long max = Long.MIN_VALUE;
          long min = Long.MAX_VALUE;
          for (long value : values) {
              total += value;
              max = Math.max(max, value);
              min = Math.min(min, value);
          }
          double mean = ((double)total) / length;
          double varianceSquared = 0.0d;
          double distance = 0.0d;
          for (long value : values) {
              distance = mean - value;
              varianceSquared = varianceSquared + (distance * distance);
          }
          return new StatisticsImpl(length, min, max, mean, Math.sqrt(varianceSquared));
      }