APIdia Launch Partner
Top Description Methods
java.util.function

public Interface DoubleSupplier

Annotations
@FunctionalInterface

Represents a supplier of double-valued results. This is the double-producing primitive specialization of Supplier.

There is no requirement that a distinct result be returned each time the supplier is invoked.

This is a functional interface whose functional method is getAsDouble().

Since
1.8
See Also
Supplier

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

a result
getAsDouble
()

Gets a result.

Method Detail

getAsDoubleback to summary
public double getAsDouble()

Gets a result.

Returns:double

a result