Interface CheckedSupplier<T>

Type Parameters:
T - Type being supplied
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@ConsumerType @FunctionalInterface public interface CheckedSupplier<T>
Supplier function which allows throwing exceptions
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> CheckedSupplier<T>
    fromSupplier(Supplier<T> supplier)
     
    get()
    Gets a result.