Package com.landawn.abacus.util.function
Interface IndexedFunction<T,R>
-
- All Superinterfaces:
Throwables.IndexedFunction<T,R,RuntimeException>
public interface IndexedFunction<T,R> extends Throwables.IndexedFunction<T,R,RuntimeException>
- Since:
- 0.8
- Author:
- Haiyang Li
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <V> IndexedFunction<T,V>
andThen(IndexedFunction<? super R,? extends V> after)
R
apply(int idx, T e)
default <V> IndexedFunction<V,R>
compose(IndexedFunction<? super V,? extends T> before)
-
-
-
Method Detail
-
apply
R apply(int idx, T e)
- Specified by:
apply
in interfaceThrowables.IndexedFunction<T,R,RuntimeException>
- Returns:
-
compose
default <V> IndexedFunction<V,R> compose(IndexedFunction<? super V,? extends T> before)
-
andThen
default <V> IndexedFunction<T,V> andThen(IndexedFunction<? super R,? extends V> after)
-
-