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