Uses of Class
io.vavr.control.Try.WithResources2
-
Packages that use Try.WithResources2 Package Description io.vavr.control -
-
Uses of Try.WithResources2 in io.vavr.control
Methods in io.vavr.control that return Try.WithResources2 Modifier and Type Method Description static <T1 extends java.lang.AutoCloseable,T2 extends java.lang.AutoCloseable>
Try.WithResources2<T1,T2>Try. withResources(CheckedFunction0<? extends T1> t1Supplier, CheckedFunction0<? extends T2> t2Supplier)
Creates aTry
-with-resources builder that operates on twoAutoCloseable
resources.
-