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 BiConsumer<T, U>
An operation on two values that answers nothing.
Type parameters
<T>- the first input type
<U>- the second input type
Methods
Method details
accept
public abstract void accept(T t, U u)Performs this operation.
Parameters
tT- the first input
uU- the second input
andThen
public default BiConsumer<T, U> andThen(BiConsumer<? super T, ? super U> after)This operation followed by
after, both given the same values. If
this operation throws, after does not run.Parameters
afterBiConsumer<? super T, ? super U>- the operation to run next
Returns
the composed operation