ObjDoubleConsumer

@FunctionalInterface interface ObjDoubleConsumer<T : Any!>
java.util.function.ObjDoubleConsumer

Represents an operation that accepts an object-valued and a double-valued argument, and returns no result. This is the (reference, double) specialization of BiConsumer. Unlike most other functional interfaces, ObjDoubleConsumer is expected to operate via side-effects.

This is a functional interface whose functional method is #accept(Object, double).
Requires API level 24 (Android 7.0, Nougat)

Summary

Public methods
abstract Unit
accept(t: T, value: Double)

Performs this operation on the given arguments.

Public methods

accept

added in API level 24
abstract fun accept(t: T, value: Double): Unit

Performs this operation on the given arguments.
Requires API level 24 (Android 7.0, Nougat)

Parameters
t T: the first input argument
value T: the second input argument