title: Android Filtering a List of Objects
body: <p>My question is similar to: <a href="https://stackoverflow.com/questions/4215645/java-best-way-to-filter-list-of-object">java Best way to Filter list of object</a></p>
  
  <blockquote>
    <p>I have a list of objects say Sales. I want only the Sales objects
    whose Product matches the ones in another list, say saleProductList.</p>
    
    <p>Other than looping, is there a better way to do it.</p>
  </blockquote>
  
  <p>However I wish to be able to able to do the filtering with code accessible to android, e.g. The libraries would need to play nice with the android OS and run on the android OS. I'm hoping to avoid making home cooked code for a problem I assume is common, any suggestions?</p>