@Override
    public boolean remove(@NonNull Disposable disposable) {
        if (delete(disposable)) {
            disposable.dispose();
            return true;
        }
        return false;
    }
@Override
    public boolean remove(@NonNull Disposable disposable) {
        if (delete(disposable)) {
            disposable.dispose();
            return true;
        }
        return false;
    }
@ Override public boolean remove ( @ NonNull Disposable disposable ) { if ( delete ( disposable ) ) { disposable . dispose ( ) ; return true ; } return false ; }
Removes and disposes the given disposable if it is part of this
container.
@param disposable the disposable to remove and dispose, not null
@return true if the operation was successful
Removes and disposes the given disposable if it is part of this container .