public class DisposeUtils extends Object
Constructor and Description |
---|
DisposeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
bind(Disposable disposable) |
static void |
dispose(Disposable disposable)
Disposes a
Disposable object, checking if it is null. |
static void |
disposeQuietly(Disposable disposable) |
public static void dispose(Disposable disposable)
Disposable
object, checking if it is null.disposable
- to disposepublic static void disposeQuietly(Disposable disposable)
public static void bind(Disposable disposable)