title: Fetch Student object from List<Student> with matching name without iterating (Java)
body: <p>I have a <code>List&lt;Student&gt;</code> and <code>String firstName="George"</code>. I want to extract Student object from List matching with <code>"George"</code> without iterating list. Is it possible?</p>
  
  <p>May be if some method override required or anything to make it work.</p>
  
  <pre><code>public Class Student {
       private String firstName;
       private String lastName;
       private String class;
  
       // getter, setter methods goes here....
  }
  </code></pre>
  
  <p>Please help me thanks.</p>