| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(Disposable
the d)Disposable to add.Implements reactor. Disposable to this container, if it is not disposed.
|
| public boolean | addAll(Collection<? extends Disposable>
the collection of Disposables ds)Overrides default reactor. |
| public void | dispose()
Implements reactor. disposed, clear it and then
dispose all the previously contained Disposables.
|
| public boolean | isDisposed()
Implements reactor. |
| public boolean | remove(Disposable
the d)Disposable to remove.Implements reactor. Disposable from this container, without disposing it.
|
| public int | size()
Implements reactor. |
| EmptyCompositeDisposable | back to summary |
|---|---|
| pack-priv EmptyCompositeDisposable() | |
| add | back to summary |
|---|---|
| public boolean add(Disposable d) Implements reactor. Doc from reactor. Add a
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(Collection<? extends Disposable> ds) Overrides default reactor. Doc from reactor. Adds the given collection of Disposables to the container or disposes them all if the container has been disposed.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Atomically mark the container as
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements reactor. Doc from reactor. Indicates if the container has already been disposed. Note that if that is the case, attempts to add new disposable to it via
| |
| remove | back to summary |
|---|---|
| public boolean remove(Disposable d) Implements reactor. Doc from reactor. Delete the
It becomes the responsibility of the caller to dispose the value themselves,
which they can do by a simple call to
| |
| size | back to summary |
|---|---|
| public int size() Implements reactor. Doc from reactor. Returns the number of currently held Disposables.
| |