Interface OpenLambda.ThrowingSupplier<T>

Type Parameters:
T - the result type | 结果类型
Enclosing class:
OpenLambda
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 OpenLambda.ThrowingSupplier<T>
A supplier that can throw checked exceptions 可以抛出检查异常的提供者
Since:
JDK 25, opencode-base-reflect V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets a result 获取结果
  • Method Details

    • get

      T get() throws Exception
      Gets a result 获取结果
      Returns:
      the result | 结果
      Throws:
      Exception - if an error occurs | 如果发生错误