Most visited


Recently visited


Added in API level 24

ObjIntConsumer

public interface ObjIntConsumer

java.util.function.ObjIntConsumer<T>


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

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

See also:

Summary


Public methods

abstract void accept(T t, int value)

Performs this operation on the given arguments.

Public methods


accept

Added in API level 24
void accept (T t, 
                int value)

Performs this operation on the given arguments.

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

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.