public static class IndexedFunction.Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T,R> IndexedFunction<T,R> |
wrap(Function<? super T,? extends R> function)
Wraps
Function and returns IndexedFunction. |
public static <T,R> IndexedFunction<T,R> wrap(Function<? super T,? extends R> function)
Function and returns IndexedFunction.T - the type of the input argumentR - the type of the resultfunction - the function to wrapIndexedFunctionNullPointerException - if function is nullCopyright © 2017. All rights reserved.