title: CollectionUtils in java using predicate
body: <p>I have a <code>List&lt;Object&gt;</code> and I want to return the first value that it finds true which matches a predicate. </p>
  
  <p>I found that I can use <code>CollectionUtils.find(collection,predicate)</code> (Apache commons). Assuming that the <code>Object</code> contains a integer variable called : <code>value</code> , how do i specify in the predicate that the value can be <code>1,2,3,4,5</code> and to discard those that dont match. Is it possible to do 'contains'.</p>
  
  <p>Also not using java 8 so unable to do stream. </p>