title: Retrieving list of employees with lowest salary using stream
body: <p>I'm trying to retrieve a list of those with lowest salary from a list of employees. So far I've managed to find <em>the</em> employee with lowest salary, but I want to retrieve multiple if several employees have the same salary. </p>
  
  <p>I think the solution is supposed to be in one line. So I can't create a variable with the lowest salary and just check each one for 'Salary less than or equal to Low_Salary'. I tried this, and it worked.</p>
  
  <p>So I believe my problem is that ".min(comparator)" retrieves only one of the lowest. </p>
  
  <pre class="lang-java prettyprint-override"><code>Comparator&lt;Employee&gt; comparator = Comparator.comparing( Employee :: getSalary);
  List&lt;Employee&gt; lowSalary = employees.stream()
                 .min(comparator)
                 .stream()
                 .collect(Collectors.toList());
  lowSalary.forEach(System.out::println);
  </code></pre>