T
- the type of object to be suppliedpublic interface CloseableSupplier<T extends AutoCloseable> extends AutoCloseable, Supplier<T>
Supplier
for AutoCloseable
objects that itself can be closed without regard for whether the Supplier.get()
method has not yet been called.Modifier and Type | Method and Description |
---|---|
void |
close() |
void close()
close
in interface AutoCloseable
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.