public interface BiIndexFunction<F1,F2,T>
The transformation on the source objects does not necessarily result in an object of a different type.
Implementors of BiFunction which may cause side effects upon evaluation are strongly encouraged to state this fact clearly in their API documentation.
Modifier and Type | Method and Description |
---|---|
T |
apply(int index,
F1 from1,
F2 from2)
Applys the function to an object of types
F1 and F2 ,
resulting in an object of type T . |
T apply(int index, F1 from1, F2 from2)
F1
and F2
,
resulting in an object of type T
. Note that types F1
,
F2
and T
may or may not be the same.index
- The current processed index.from1
- The first source object.from2
- The second source object.