public void clear() {
        if (!disposedInd) {
            Collection<Binding> unsubscribe1 = null;
            Collection<CompositeBinding> unsubscribe2 = null;
            if (bindings == null && compBindings == null) {
                return;
            }
            if (bindings != null) {
                unsubscribe1 = bindings;
                bindings = null;
                unsubscribeFromAll(unsubscribe1);
            }
            if (compBindings != null) {
                unsubscribe2 = compBindings;
                compBindings = null;
                unsubscribeFromAllComposite(unsubscribe2);
            }
        }
    }
public void clear ( ) { if ( ! disposedInd ) { Collection < Binding > unsubscribe1 = null ; Collection < CompositeBinding > unsubscribe2 = null ; if ( bindings == null && compBindings == null ) { return ; } if ( bindings != null ) { unsubscribe1 = bindings ; bindings = null ; unsubscribeFromAll ( unsubscribe1 ) ; } if ( compBindings != null ) { unsubscribe2 = compBindings ; compBindings = null ; unsubscribeFromAllComposite ( unsubscribe2 ) ; } } }
Disposes any bindings that are currently part of this {@code CompositeBinding} and remove
them from the {@code CompositeBinding} so that the {@code CompositeBinding} is empty and
able to manage new bindings.