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