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