Interface RangeFunction<T,R>
-
- Type Parameters:
T- the type of the input to the functionR- the type of the result of the function
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface interface RangeFunction<T,R>Represents a function that accepts an object and a range and produces a result.This interface is similar to
Functionwith the addition of a range[from, to)argument to the functional method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T t, int from, int to)Applies this function to the given arguments.
-