インターフェースの使用
org.springframework.util.function.ThrowingSupplier
ThrowingSupplier を使用するパッケージ
パッケージ
説明
Bean ファクトリの AOT サポート。
org.springframework.beans.factory パッケージをサポートするクラス。 便利な汎用
java.util.function ヘルパークラス。org.springframework.beans.factory.aot 内の ThrowingSupplier 使用
ThrowingSupplier を実装している org.springframework.beans.factory.aot のクラス修飾子と型クラス説明final class基礎となる Bean インスタンスが存在する場合、それをインスタンス化するために使用されるファクトリMethodSE を提供する特殊化されたInstanceSupplier。型 ThrowingSupplier のパラメーターを持つ org.springframework.beans.factory.aot のメソッド修飾子と型メソッド説明BeanInstanceSupplier.withGenerator(ThrowingSupplier<T> generator) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。org.springframework.beans.factory.support 内の ThrowingSupplier 使用
org.springframework.beans.factory.support 内の ThrowingSupplier サブインターフェース修飾子と型インターフェース説明interface型 ThrowingSupplier のパラメーターを持つ org.springframework.beans.factory.support のメソッド修飾子と型メソッド説明static <T> InstanceSupplier<T>InstanceSupplier.using(MethodSE factoryMethod, ThrowingSupplier<T> supplier) ThrowingSupplierからInstanceSupplierを作成するファクトリメソッド。static <T> InstanceSupplier<T>InstanceSupplier.using(ThrowingSupplier<T> supplier) ThrowingSupplierからInstanceSupplierを作成するファクトリメソッド。org.springframework.util.function 内の ThrowingSupplier 使用
修飾子と型メソッド説明static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier) get()メソッドが、指定されたラムダ式またはメソッド参照によってスローされたチェック済み例外をラップするThrowingSupplierを作成するために使用できる、ラムダに適した便利なメソッド。static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) get()メソッドが、指定されたexceptionWrapperを使用して、スローされたチェック例外をラップするThrowingSupplierを作成するために使用できる、ラムダに適した便利なメソッド。default ThrowingSupplier<T>ThrowingSupplier.throwing(BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) 型 ThrowingSupplier のパラメーターを持つ org.springframework.util.function のメソッド修飾子と型メソッド説明static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier) get()メソッドが、指定されたラムダ式またはメソッド参照によってスローされたチェック済み例外をラップするThrowingSupplierを作成するために使用できる、ラムダに適した便利なメソッド。static <T> ThrowingSupplier<T>ThrowingSupplier.of(ThrowingSupplier<T> supplier, BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) get()メソッドが、指定されたexceptionWrapperを使用して、スローされたチェック例外をラップするThrowingSupplierを作成するために使用できる、ラムダに適した便利なメソッド。
BeanInstanceSupplier.withGenerator(ThrowingFunction)を推奨