Interface TSupplier<T>

Type Parameters:
T - The return type
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 TSupplier<T>
This is a functional interface that can be used to replace Supplier and throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets a result and throws an exception.
  • Method Details

    • get

      T get() throws Throwable
      Gets a result and throws an exception.
      Returns:
      The return value
      Throws:
      Throwable - The exception