Added in API level 24
ToLongBiFunction
public interface ToLongBiFunction
| java.util.function.ToLongBiFunction<T, U> |
Represents a function that accepts two arguments and produces a long-valued result. This is the long-producing primitive specialization for BiFunction.
This is a functional interface whose functional method is applyAsLong(java.lang.Object, java.lang.Object).
See also:
Summary
Public methods | |
|---|---|
abstract long | applyAsLong(T t, U u) Applies this function to the given arguments. |
Public methods
applyAsLong
Added in API level 24
public abstract long applyAsLong (T t, U u)
Applies this function to the given arguments.
| Parameters | |
|---|---|
t | T: the first function argument |
u | U: the second function argument |
| Returns | |
|---|---|
long | the function result |