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