Interface ThrowingSupplier<T>

All Superinterfaces:
Callable<T>, Supplier<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ThrowingSupplier<T> extends Supplier<T>, Callable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    get()
     
    static <T> Supplier<T>
    unchecked(ThrowingSupplier<T> throwingSupplier)
     

    Methods inherited from interface java.util.concurrent.Callable

    call