title: How do you query object collections in Java (Criteria/SQL-like)?
body: <p>Suppose you have a collection of a few hundred in-memory objects and you need to query this List to return objects matching some SQL or Criteria like query. For example, you might have a List of Car objects and you want to return all cars made during the 1960s, with a license plate that starts with AZ, ordered by the name of the car model. </p>
  
  <p>I know about <a href="http://josql.sourceforge.net/" rel="noreferrer">JoSQL</a>, has anyone used this, or have any experience with other/homegrown solutions?</p>