title: Finding all objects that have a given property inside a collection
body: <p>I have some complicated object, such as a Cat, which has many properties, such as age, favorite cat food, and so forth.  </p>
  
  <p>A bunch of Cats are stored in a Java Collection, and I need to find all the Cats that are aged 3, or those whose favorite cat food is Whiskas.  Surely, I can write a custom method that finds those Cats with a specific property, but this gets cumbersome with many properties; is there some generic way of doing this?</p>