public class DoubleFunctions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <S> Function<Double,S> |
boxArgument(DoubleFunction<S> f,
S returnValueForNullArgument)
Returns a view on the given
DoubleFunction as a
Function that accepts a Double,
thus boxing the argument type from double to
Double |
public static <S> Function<Double,S> boxArgument(DoubleFunction<S> f, S returnValueForNullArgument)
DoubleFunction as a
Function that accepts a Double,
thus boxing the argument type from double to
DoubleS - The return value typef - The functionreturnValueForNullArgument - What is returned when the
argument that is given to the resulting function is null.Copyright © 2020. All rights reserved.