Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 24

ObjLongConsumer

public interface ObjLongConsumer

java.util.function.ObjLongConsumer<T>


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

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

See also:

Summary

Public methods

abstract void accept(T t, long value)

Performs this operation on the given arguments.

Public methods

accept

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

Performs this operation on the given arguments.

Parameters
t T: the first input argument

value long: the second input argument