Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@FunctionalInterface

public interface ToLongBiFunction<T, U>

A function of two arguments that answers a long; the long form of BiFunction.

Type parameters

<T>
the first input type
<U>
the second input type

Methods

public abstract long applyAsLong(T t, U u)Applies this function.

Method details

applyAsLong

public abstract long applyAsLong(T t, U u)
Applies this function.

Parameters

t T
the first input
u U
the second input

Returns

the result