Liking cljdoc? Tell your friends :D
Clojure only.

jdk.util.function.BiConsumer

Represents an operation that accepts two input arguments and returns no result. This is the two-arity specialization of Consumer. Unlike most other functional interfaces, BiConsumer is expected to operate via side-effects.

This is a functional interface whose functional method is accept(Object, Object).

Represents an operation that accepts two input arguments and returns no
result.  This is the two-arity specialization of Consumer.
Unlike most other functional interfaces, BiConsumer is expected
to operate via side-effects.

This is a functional interface
whose functional method is accept(Object, Object).
raw docstring

acceptclj

(accept this t u)

Performs this operation on the given arguments.

t - the first input argument - T u - the second input argument - U

Performs this operation on the given arguments.

t - the first input argument - `T`
u - the second input argument - `U`
raw docstring

and-thenclj

(and-then this after)

Returns a composed BiConsumer that performs, in sequence, this operation followed by the after operation. If performing either operation throws an exception, it is relayed to the caller of the composed operation. If performing this operation throws an exception, the after operation will not be performed.

after - the operation to perform after this operation - java.util.function.BiConsumer

returns: a composed BiConsumer that performs in sequence this operation followed by the after operation - default java.util.function.BiConsumer<T,U>

throws: java.lang.NullPointerException - if after is null

Returns a composed BiConsumer that performs, in sequence, this
 operation followed by the after operation. If performing either
 operation throws an exception, it is relayed to the caller of the
 composed operation.  If performing this operation throws an exception,
 the after operation will not be performed.

after - the operation to perform after this operation - `java.util.function.BiConsumer`

returns: a composed BiConsumer that performs in sequence this
 operation followed by the after operation - `default java.util.function.BiConsumer<T,U>`

throws: java.lang.NullPointerException - if after is null
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close