T - the type of elements maintained by this Collectionpublic interface ObjectLongConsumer<T>
extends java.util.function.BiConsumer<T,java.lang.Long>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T k,
long v)
A Type Specific operation method to reduce boxing/unboxing
Performs this operation on the given arguments.
|
default void |
accept(T k,
java.lang.Long v)
Deprecated.
Please use the corresponding type-specific function instead.
|
default ObjectLongConsumer<T> |
andThen(java.util.function.BiConsumer<? super T,? super java.lang.Long> after)
Deprecated.
Please use the corresponding type-specific function instead.
|
default ObjectLongConsumer<T> |
andThen(ObjectLongConsumer<T> after)
Type Specific sequencing method to reduce boxing/unboxing.
|
void accept(T k, long v)
k - the first input argumentv - the second input argumentdefault ObjectLongConsumer<T> andThen(ObjectLongConsumer<T> after)
after - a operation that should be performed afterwardsjava.lang.NullPointerException - if after is null@Deprecated default void accept(T k, java.lang.Long v)
This default implementation delegates to the corresponding type-specific function.
accept in interface java.util.function.BiConsumer<T,java.lang.Long>@Deprecated default ObjectLongConsumer<T> andThen(java.util.function.BiConsumer<? super T,? super java.lang.Long> after)
This default implementation delegates to the corresponding type-specific function.
andThen in interface java.util.function.BiConsumer<T,java.lang.Long>