Interface Functions.CheckedSupplier<T,E extends Throwable>

Type Parameters:
T - supplier type
E - checked exception type
Enclosing class:
Functions
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 static interface Functions.CheckedSupplier<T,E extends Throwable>
Checked supplier.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Get the value.
  • Method Details

    • get

      T get() throws E
      Get the value.
      Returns:
      T value
      Throws:
      E - if an error occurs