Interface Resource<X extends Exception>

Type Parameters:
X - an exception that can be thrown on closing the resource
All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
CloseableIterator<E>, ResourceIterator<E,X>

public interface Resource<X extends Exception> extends AutoCloseable
Represents a resource which needs to be closed
Since:
0.1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
  • Method Details