title: Extract a list from list of lists
body: <p>I have a list of lists in java.</p>
  
  <pre><code>static ArrayList&lt;List&gt; permutationS = new ArrayList&lt;List&gt;();
  </code></pre>
  
  <p>The inner list is an ArrayList of integers.</p>
  
  <pre><code>List&lt;Integer&gt; innerList = new ArrayList&lt;Integer&gt;();
  </code></pre>
  
  <p>Now I want to select an innerList, If it contains a particular integer.
  How can I achieve this?</p>