title: Multiple flags in one int value
body: <p>I have a int variable which hold multiple flags, for instance:</p>
  
  <pre><code>int styles = ExpandableComposite.TITLE_BAR | ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED;
  </code></pre>
  
  <p>I can test the presence of a flag </p>
  
  <pre><code>boolean expanded = (styles &amp; ExpandableComposite.EXPANDED) != 0;
  </code></pre>
  
  <p>How can I clear the value of a flag from <code>styles</code>, i.e. dynamically remove <code>ExpandableComposite.EXPANDED</code>, without knowing the exact flags which are set in <code>styles</code>?</p>