lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 24

ObjDoubleConsumer

public interface ObjDoubleConsumer

java.util.function.ObjDoubleConsumer<T>


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).

See also:

Summary

Public methods

abstract void accept(T t, double value)

Performs this operation on the given arguments.

Public methods

accept

added in API level 24
public abstract void accept (T t, 
                double value)

Performs this operation on the given arguments.

Parameters
t T: the first input argument

value double: the second input argument