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