com.koloboke.function
Interface ShortObjFunction<T,R>
- Type Parameters:
T
- the type of the first argument to the functionR
- the type of the result of the function
public interface ShortObjFunction<T,R>
Represents a function that accepts a short
-valued and an object-valued argument
and returns a result. This is the (short, reference, reference)
specialization
of BiFunction
.
- See Also:
BiFunction
Method Summary |
R |
apply(short v,
T t)
Applies this function to the given arguments. |
apply
R apply(short v,
T t)
- Applies this function to the given arguments.
- Parameters:
v
- the first function argumentt
- the second function argument
- Returns:
- the function result