
nyla.solutions.core.patterns.Disposable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.core Show documentation
Show all versions of nyla.solutions.core Show documentation
This Java API provides support for application utilities (application configuration, data encryption, debugger, text processing, and more).
package nyla.solutions.core.patterns;
import java.io.Closeable;
import java.io.IOException;
/**
Disposable is public interface interface
for objects to free held resource when requested
*/
public interface Disposable extends Closeable
{
/**
* Default close method call close
*/
default @Override void close() throws IOException
{
dispose();
}
/**
* Dispose of needed resources
*/
void dispose();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy