public static class IndexedDoubleFunction.Util
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <R> IndexedDoubleFunction<R> |
wrap(DoubleFunction<? extends R> function)
Wraps
DoubleFunction and returns IndexedDoubleFunction. |
public static <R> IndexedDoubleFunction<R> wrap(@NotNull DoubleFunction<? extends R> function)
DoubleFunction and returns IndexedDoubleFunction.R - the type of the resultfunction - the function to wrapIndexedDoubleFunctionjava.lang.NullPointerException - if function is null