jQuery method to select a subset and also its inverse?
<p>Given some jQuery object set, and also a subset of that set, is there a method that will return the <strong>inverse</strong> subset?</p>

<p>If the answer is "<strong>No</strong>", is there any way to avoid making a <em>second selection</em> to get the inverse subset?</p>

<p><strong>Explanatory example:</strong></p>

<pre><code>&lt;ul&gt;
  &lt;li class="subset"&gt;&lt;/li&gt;
  &lt;li class="subset"&gt;&lt;/li&gt;
  &lt;li class="inverse"&gt;&lt;/li&gt;
  &lt;li class="inverse"&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>First I want to do something to all the <code>&lt;li&gt;</code>, then something to only <code>.subset</code>, and finally something else to only <code>.inverse</code>:</p>

<pre><code>$('li').css('background-color','blue')
  .filter('.subset')
    .css('color','black')
  .inverse()  // &lt;-- White Whale?!?
    .css('color','white');
</code></pre>

<p>I know this could be easily done with <code>.end().filter('.inverse')</code>, but suppose the selector were actually <strong>big</strong> and <strong>nasty</strong> and running it twice would be a big <strong>performance hit</strong>.  What then?</p>

<p>Haven't found anything like this in the API docs, but I'm new to jQuery and may have overlooked something obvious (also, the existence of <code>.andSelf()</code> means this would not be unreasonable to expect...).</p>
