@FunctionalInterface
public interface ShortConsumer
extends java.util.function.Consumer<java.lang.Short>, java.util.function.IntConsumer
Consumer; provides methods to consume a primitive
type both as object and as primitive.Consumer| Modifier and Type | Method and Description |
|---|---|
default void |
accept(int t)
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
accept(short t) |
default void |
accept(java.lang.Short t)
Deprecated.
Please use the corresponding type-specific method instead.
|
default java.util.function.Consumer<java.lang.Short> |
andThen(java.util.function.Consumer<? super java.lang.Short> after)
Deprecated.
Please use the corresponding type-specific method instead.
|
default ShortConsumer |
andThen(java.util.function.IntConsumer after)
Deprecated.
Please use the corresponding type-specific method instead.
|
default ShortConsumer |
andThen(ShortConsumer after) |
void accept(short t)
@Deprecated default void accept(int t)
accept in interface java.util.function.IntConsumer@Deprecated default void accept(java.lang.Short t)
accept in interface java.util.function.Consumer<java.lang.Short>default ShortConsumer andThen(ShortConsumer after)
@Deprecated default ShortConsumer andThen(java.util.function.IntConsumer after)
andThen in interface java.util.function.IntConsumer@Deprecated default java.util.function.Consumer<java.lang.Short> andThen(java.util.function.Consumer<? super java.lang.Short> after)
andThen in interface java.util.function.Consumer<java.lang.Short>