Interface CleanAutoCloseable

  • All Superinterfaces:
    AutoCloseable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CleanAutoCloseable
    extends AutoCloseable
    AutoCloseable interface which doesn't throw.
    • Method Detail

      • close

        void close()
        Close this resource, no exception thrown.
        Specified by:
        close in interface AutoCloseable