C - the type of this consumer@InheritOnly public interface AbstractDoubleConsumer1<C extends AbstractDoubleConsumer1<C>> extends AbstractConsumerN<C>, net.ashwork.functionality.partial.UnboxedInput<AbstractConsumer1<java.lang.Double,?>>, net.ashwork.functionality.partial.Variant<java.util.function.DoubleConsumer>
double-valued argument and returns no result.
This is the one-arity specialization of AbstractConsumerN.
This is the non-producing specialization of Function1.
This is the double-consuming primitive specialization of AbstractConsumer1.AbstractConsumerN,
Function1,
AbstractConsumer1| Modifier and Type | Method and Description |
|---|---|
void |
accept(double value)
Performs this operation on the given argument.
|
default void |
acceptAllUnchecked(java.lang.Object... args)
Performs this operation on the given arguments.
|
default AbstractDoubleConsumer1<C> |
andThen(C after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default <V> net.ashwork.functionality.primitive.doubles.DoubleFunction1<V> |
andThen(net.ashwork.functionality.Function1<? super java.lang.Void,? extends V> after) |
AbstractDoubleConsumer1<C> |
andThenUnchecked(C after)
Returns a chained object that performs, in sequence, this operation followed
by the
after operation. |
default <V> net.ashwork.functionality.primitive.doubles.DoubleFunction1<V> |
andThenUnchecked(net.ashwork.functionality.Function1<? super java.lang.Void,? extends V> after) |
default int |
arity() |
AbstractConsumer1<java.lang.Double,?> |
boxInput() |
default java.util.function.DoubleConsumer |
toVariant() |
applyAllUnchecked, sizedAcceptAllUncheckedvoid accept(double value)
value - the input argumentdefault void acceptAllUnchecked(java.lang.Object... args)
AbstractConsumerNacceptAllUnchecked in interface AbstractConsumerN<C extends AbstractDoubleConsumer1<C>>args - the input argumentsdefault int arity()
arity in interface net.ashwork.functionality.partial.Arityarity in interface net.ashwork.functionality.FunctionN<java.lang.Void>default java.util.function.DoubleConsumer toVariant()
toVariant in interface net.ashwork.functionality.partial.Variant<java.util.function.DoubleConsumer>DoubleConsumerAbstractConsumer1<java.lang.Double,?> boxInput()
boxInput in interface net.ashwork.functionality.partial.UnboxedInput<AbstractConsumer1<java.lang.Double,?>>AbstractConsumer1default AbstractDoubleConsumer1<C> andThen(C after)
ConsumerChainableafter operation. If performing either operation throws an
exception, it is relayed to the caller of the composed operation. If performing
this operation throws an exception, the after operation will not be
performed.andThen in interface AbstractConsumerN<C extends AbstractDoubleConsumer1<C>>andThen in interface ConsumerChainable<C extends AbstractDoubleConsumer1<C>>andThen in interface ConsumerChainableConsumer<C extends AbstractDoubleConsumer1<C>>after - the operation to perform after this operationafter operationAbstractDoubleConsumer1<C> andThenUnchecked(C after)
ConsumerChainableafter operation. If performing either operation throws an
exception, it is relayed to the caller of the composed operation. If performing
this operation throws an exception, the after operation will not be
performed. This makes no assumptions on the arguments of this method.andThenUnchecked in interface AbstractConsumerN<C extends AbstractDoubleConsumer1<C>>andThenUnchecked in interface ConsumerChainable<C extends AbstractDoubleConsumer1<C>>andThenUnchecked in interface ConsumerChainableConsumer<C extends AbstractDoubleConsumer1<C>>after - the operation to perform after this operationafter operationdefault <V> net.ashwork.functionality.primitive.doubles.DoubleFunction1<V> andThen(net.ashwork.functionality.Function1<? super java.lang.Void,? extends V> after)
andThen in interface net.ashwork.functionality.FunctionN<java.lang.Void>andThen in interface net.ashwork.functionality.partial.ResultChainable<java.lang.Void>andThen in interface net.ashwork.functionality.partial.ResultChainableResult<java.lang.Void>DoubleFunction1default <V> net.ashwork.functionality.primitive.doubles.DoubleFunction1<V> andThenUnchecked(net.ashwork.functionality.Function1<? super java.lang.Void,? extends V> after)
andThenUnchecked in interface net.ashwork.functionality.FunctionN<java.lang.Void>andThenUnchecked in interface net.ashwork.functionality.partial.ResultChainable<java.lang.Void>andThenUnchecked in interface net.ashwork.functionality.partial.ResultChainableResult<java.lang.Void>DoubleFunction1