@FunctionalInterface
public interface CheckedDoubleSupplier
DoubleSupplier that allows for checked exceptions.| Modifier and Type | Method | Description |
|---|---|---|
double |
getAsDouble() |
Gets a result.
|
static java.util.function.DoubleSupplier |
sneaky(CheckedDoubleSupplier supplier) |
|
static java.util.function.DoubleSupplier |
unchecked(CheckedDoubleSupplier supplier) |
|
static java.util.function.DoubleSupplier |
unchecked(CheckedDoubleSupplier supplier,
java.util.function.Consumer<java.lang.Throwable> handler) |
double getAsDouble()
throws java.lang.Throwable
java.lang.Throwablestatic java.util.function.DoubleSupplier sneaky(CheckedDoubleSupplier supplier)
static java.util.function.DoubleSupplier unchecked(CheckedDoubleSupplier supplier)
static java.util.function.DoubleSupplier unchecked(CheckedDoubleSupplier supplier, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.