Interface CloseableSupplier<T extends Closeable>

Type Parameters:
T - the type of Closeable object supplied
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 CloseableSupplier<T extends Closeable>
A supplier that provides instances of Closeable objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets an instance of a Closeable object.