title: Create an immutable list from a java.lang.Iterator
body: <p>I'm using a library (<a href="http://commons.apache.org/jxpath">JXPath</a>) to query a graph of beans in order to extract matching elements. However, JXPath returns groups of matching elements as an instance of java.lang.Iterator and I'd  rather like to convert it into an immutable scala list. Is there any simpler way of doing than iterating over the iterator and creating a new immutable list at each iteration step ?</p>