the closeable resource to which the new methods are provided.
Uses this resouce and closes it afterwards.
Uses this resouce and closes it afterwards.
the return type of the code block.
the block of code to execute using this resource
the value returned by the code block.
Implicit class that provides new methods for closeable resources.