Is there a quick way to extract part of list from a list of object?
<p>Say, I have a List students; </p>

<p>Person is defined like the following</p>

<pre><code>class Person {
    String id;
    String name;
}
</code></pre>

<p>After getting the students, is the a qucik way to get a list of ids as used, in the form List ids.</p>
