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