|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slim3.commons.util.DisposableUtil
public final class DisposableUtil
A utility class to dispose resources.
Constructor Summary | |
---|---|
DisposableUtil()
|
Method Summary | |
---|---|
static void |
add(Disposable disposable)
Adds the disposable resource. |
static void |
disposeAll()
Disposes all resources. |
static void |
remove(Disposable disposable)
Removes the disposable resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisposableUtil()
Method Detail |
---|
public static void add(Disposable disposable)
disposable
- the disposable resourcepublic static void remove(Disposable disposable)
disposable
- the disposable resourcepublic static void disposeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |