R
- the resource type@FunctionalInterface
public static interface Res.CloseFunction<R>
Res.res(CloseFunction, Object)
Modifier and Type | Method and Description |
---|---|
void |
close(R resource)
Releases the resource argument.
|
void close(R resource) throws java.lang.Exception
resource
- the resource to closejava.lang.Exception
- on error