T1- Type of the 1st resource.
T2- Type of the 2nd resource.
T3- Type of the 3rd resource.
public static final class Try.WithResources3<T1 extends AutoCloseable,T2 extends AutoCloseable,T3 extends AutoCloseable> extends Object
Try-with-resources builder that operates on three
|Modifier and Type||Method and Description|
Wraps the result of a computation that may fail in a
public <R> Try<R> of(CheckedFunction3<? super T1,? super T2,? super T3,? extends R> f)
R- Result type of the computation.
f- A computation that takes three
Copyright © 2019. All Rights Reserved.