Added in API level 24
ObjLongConsumer
@FunctionalInterface interface ObjLongConsumer<T : Any!>
java.util.function.ObjLongConsumer |
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(java.lang.Object,long)
.
Summary
Public methods | |
---|---|
abstract Unit |
Performs this operation on the given arguments. |
Public methods
accept
Added in API level 24
abstract fun accept(
t: T,
value: Long
): Unit
Performs this operation on the given arguments.
Parameters | |
---|---|
t |
T: the first input argument |
value |
Long: the second input argument |