Represents an operation that accepts a single long-valued argument and returns no result. This is the primitive type specialization of Consumer for long. Unlike most other functional interfaces, LongConsumer is expected to operate via side-effects.
This is a functional interface whose functional method is accept(long).
Represents an operation that accepts a single long-valued argument and returns no result. This is the primitive type specialization of Consumer for long. Unlike most other functional interfaces, LongConsumer is expected to operate via side-effects. This is a functional interface whose functional method is accept(long).
(accept this value)
Performs this operation on the given argument.
value - the input argument - long
Performs this operation on the given argument. value - the input argument - `long`
(and-then this after)
Returns a composed LongConsumer 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.LongConsumer
returns: a composed LongConsumer that performs in sequence this
operation followed by the after operation - default java.util.function.LongConsumer
throws: java.lang.NullPointerException - if after is null
Returns a composed LongConsumer 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.LongConsumer` returns: a composed LongConsumer that performs in sequence this operation followed by the after operation - `default java.util.function.LongConsumer` throws: java.lang.NullPointerException - if after is null
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close