@Override
    public void setFlag(int mask, boolean value) {
        if (mask > Short.MAX_VALUE || !isPowerOfTwo(mask))
            throw new IllegalArgumentException("setFlag() must be provided a valid CDKConstant and not used for custom properties");
        // set/unset a bit in the flags value
        if (value)
            flags |= mask;
        else
            flags &= ~(mask);
        notifyChanged();
    }
@ Override public void setFlag ( int mask , boolean value ) { if ( mask > Short . MAX_VALUE || ! isPowerOfTwo ( mask ) ) throw new IllegalArgumentException ( "setFlag() must be provided a valid CDKConstant and not used for custom properties" ) ; if ( value ) flags |= mask ; else flags &= ~ ( mask ) ; notifyChanged ( ) ; }
{@inheritDoc}