@FunctionalInterface
public interface LongConsumer
extends java.util.function.Consumer<java.lang.Long>, java.util.function.LongConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
accept(long t)
Type-Specific function to reduce (un)boxing.
|
default void |
accept(java.lang.Long t)
Deprecated.
Please use the corresponding type-specific function instead.
|
default LongConsumer |
andThen(java.util.function.Consumer<? super java.lang.Long> after)
Deprecated.
Please use the corresponding type-specific function instead.
|
default LongConsumer |
andThen(LongConsumer after)
Type Specific sequencing method to reduce boxing/unboxing.
|
default LongConsumer |
andThen(java.util.function.LongConsumer after)
Deprecated.
Please use the corresponding type-specific function instead.
|
void accept(long t)
accept in interface java.util.function.LongConsumert - the input argumentdefault LongConsumer andThen(LongConsumer after)
after - a operation that should be performed afterwardsjava.lang.NullPointerException - if after is null@Deprecated default void accept(java.lang.Long t)
This default implementation delegates to the corresponding type-specific function.
accept in interface java.util.function.Consumer<java.lang.Long>@Deprecated default LongConsumer andThen(java.util.function.Consumer<? super java.lang.Long> after)
This default implementation delegates to the corresponding type-specific function.
andThen in interface java.util.function.Consumer<java.lang.Long>@Deprecated default LongConsumer andThen(java.util.function.LongConsumer after)
This default implementation delegates to the corresponding type-specific function.
andThen in interface java.util.function.LongConsumer