Package sk.tuke.kpi.gamelib
Interface Disposable
-
- All Known Implementing Classes:
OverlayDrawing
public interface Disposable
Object that can bedisposed
when it is no longer needed.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static @NotNull Disposable
create(@NotNull java.lang.Runnable action)
void
dispose()
Disposes the object by performing required cleanup operations.
-
-
-
Method Detail
-
dispose
void dispose()
Disposes the object by performing required cleanup operations.
-
create
@NotNull static @NotNull Disposable create(@NotNull @NotNull java.lang.Runnable action)
-
-