her</code> according to <code>other.contains</code>.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">Set&lt;E&gt; difference(Set&lt;Object&gt; other) {
  Set&lt;E&gt; result = SplayTreeSet&lt;E&gt;(_comparator, _validKey);
  for (E element in this) {
    if (!other.contains(element)) result.add(element);
  }
  return result;
}</code></pre>
    </section>

  </div> <!-- /.main