public static <T extends Number> OptionalDouble averageDouble(final Collection<? extends T> c) {
        return N.averageDouble(c, Fn.numToDouble());
    }
public static < T extends Number > OptionalDouble averageDouble ( final Collection < ? extends T > c ) { return N . averageDouble ( c , Fn . numToDouble ( ) ) ; }
@param c
@return