public class Resources
extends java.lang.Object
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends java.lang.AutoCloseable,U> |
asyncTryWithResource(T resource,
java.util.function.Function<T,java.util.concurrent.CompletionStage<U>> body) |