public interface IUnaryIndexFunction<F1,T>
IUnaryIndexFunction
provides a transformation of an integer and an
object and returns the resulting object.
The transformation on the source object 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)
Applys the function to an integer and an object of types
F1 ,
resulting in an object of type T . |