| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if successful, false if this container has been disposedthe disposable to add, not null d)Adds a disposable to this container or disposes it if the container has been disposed. |
| public boolean | Returns: true if the operation was successfulthe disposable to remove, not null d)Removes but does not dispose the given disposable if it is part of this container. |
| public boolean | Returns: true if the operation was successfulthe disposable to remove and dispose, not null d)Removes and disposes the given disposable if it is part of this container. |
| add | back to summary |
|---|---|
| public boolean add(Disposable d) Adds a disposable to this container or disposes it if the container has been disposed.
| |
| delete | back to summary |
|---|---|
| public boolean delete(Disposable d) Removes but does not dispose the given disposable if it is part of this container.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Disposable d) Removes and disposes the given disposable if it is part of this container.
| |