# ObjIntConsumer

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# ObjIntConsumer

`
public


interface
ObjIntConsumer
`  
`


`

|----------------------------------------|
| java.util.function.ObjIntConsumer\<T\> |

<br />

*** ** * ** ***

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](https://developer.android.com/reference/java/util/function/BiConsumer). Unlike most other functional interfaces,`ObjIntConsumer`is expected to operate via side-effects.

This is a[functional interface](https://developer.android.com/reference/java/util/function/package-summary)whose functional method is[accept(java.lang.Object, int)](https://developer.android.com/reference/java/util/function/ObjIntConsumer#accept(T,%20int)).  
**See also:**

- [BiConsumer](https://developer.android.com/reference/java/util/function/BiConsumer)

## Summary

|                                                                                      ### Public methods                                                                                      ||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract void` | ` `[accept](https://developer.android.com/reference/java/util/function/ObjIntConsumer#accept(T,%20int))`(T t, int value) ` Performs this operation on the given arguments. |

## Public methods

### accept

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public abstract void accept (T t, 
                int value)
```

Performs this operation on the given arguments.

<br />

|                    Parameters                    ||
|---------|-----------------------------------------|
| `t`     | `T`: the first input argument <br />    |
| `value` | `int`: the second input argument <br /> |