Elegant min/max absolute values in java
<p>I need to get the minimum and maximum values in a collection of floating point values, after applying an absolute value conversion. In python I would do this</p>

<pre><code>min(map(abs, [-5, -7, 10, 2]))
</code></pre>

<p>how can I perform the same operation in java in the most elegant way?</p>
