@FunctionalInterface public interface CheckedSupplier<R> extends SupplierWithException<R,Exception>
Modifier and Type | Method and Description |
---|---|
static <R> CheckedSupplier<R> |
checked(java.util.function.Supplier<R> supplier) |
static <R> java.util.function.Supplier<R> |
unchecked(CheckedSupplier<R> checkedSupplier) |
get
static <R> java.util.function.Supplier<R> unchecked(CheckedSupplier<R> checkedSupplier)
static <R> CheckedSupplier<R> checked(java.util.function.Supplier<R> supplier)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.