R1 - Resource type.R2 - Resource type.public static class Try.ResourceHandler2<R1 extends AutoCloseable,R2 extends AutoCloseable> extends Object
| Modifier and Type | Method and Description |
|---|---|
<V> Try.Value<V> |
apply(Throwing.Function2<R1,R2,V> fn) |
Try |
run(Throwing.Consumer2<R1,R2> fn) |
public <V> Try.Value<V> apply(Throwing.Function2<R1,R2,V> fn)
public Try run(Throwing.Consumer2<R1,R2> fn)
Copyright © 2017. All rights reserved.