public interface ILcdDisposable extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
default void |
close()
Disposes of this object and allows it to release any system resources that it is holding.
|
void |
dispose()
Disposes of this object and allows it to release any system resources that it is holding.
|
void dispose()
Disposes of this object and allows it to release any system resources that it is holding.
The result of calling any other method (other than finalize
) on this object subsequent to a call to
this method is undefined.
default void close() throws Exception
Disposes of this object and allows it to release any system resources that it is holding.
The result of calling any other method (other than finalize
) on this object subsequent to a call to
this method is undefined.
Calls dispose()
by default. It is advised not to override this method to make sure that calling
dispose()
and the close method always has the same effect.
close
in interface AutoCloseable
Exception
- if this resource cannot be closed