Interface CheckedSupplier<R,E extends Exception>

All Known Implementing Classes:
Result
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 CheckedSupplier<R,E extends Exception>
A Supplier-like interface which allows throwing checked exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
  • Method Details

    • get

      R get() throws E
      Throws:
      E