--- old/src/share/classes/java/util/function/DoubleSupplier.java 2012-12-05 09:51:09.930804563 -0800 +++ new/src/share/classes/java/util/function/DoubleSupplier.java 2012-12-05 09:51:09.722804554 -0800 @@ -27,12 +27,22 @@ /** * A supplier of {@code double} values. * - *

This is the primitive type specialization of {@link Supplier} for + *

This is the primitive type specialization of {@link Supplier} for * {@code double} and also may be used as a {@code Supplier}. * * @since 1.8 */ -public interface DoubleSupplier { +public interface DoubleSupplier extends Supplier { + + /** + * {@inheritDoc} + * + * @return {@inheritDoc}, always non-null + */ + @Override + public default Double get() { + return getAsDouble(); + } /** * Returns a {@code double} value.