@FunctionalInterface public interface CheckedDoubleConsumer
DoubleConsumer that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(double value) |
Performs this operation on the given argument.
|
static DoubleConsumer |
sneaky(CheckedDoubleConsumer consumer) |
|
static DoubleConsumer |
unchecked(CheckedDoubleConsumer consumer) |
|
static DoubleConsumer |
unchecked(CheckedDoubleConsumer consumer,
Consumer<Throwable> handler) |
void accept(double value)
throws Throwable
value - the input argumentThrowablestatic DoubleConsumer sneaky(CheckedDoubleConsumer consumer)
static DoubleConsumer unchecked(CheckedDoubleConsumer consumer)
static DoubleConsumer unchecked(CheckedDoubleConsumer consumer, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.