Cleanest way to find objects matching certain criteria in a java.util.List?

Posted by Allain Lalonde on Stack Overflow See other posts from Stack Overflow or by Allain Lalonde
Published on 2008-10-22T15:27:28Z Indexed on 2010/05/15 17:14 UTC
Read the original article Hit count: 199

Filed under:
|

I could write myself a helper class that does this when given a functor, but I was wondering if there's a better approach, or if there's something already in the standard library (seems like there should be).

Answers I've found on StackOverflow are all for C# which doesn't help me.

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about lists