A
alejandrina
Hi all,
I have a list (ArrayList but can be anything that helps the cause) of
objects. I'd love to find a way of extracting all elements that match a
given criteria into another list. I know how to do this manually, but I
was hoping it already existed, maybe in a library with other cool
useful stuff. I looked at the Jakarta Commons Collections, but no luck.
Any suggestions?
Thanks!
I have a list (ArrayList but can be anything that helps the cause) of
objects. I'd love to find a way of extracting all elements that match a
given criteria into another list. I know how to do this manually, but I
was hoping it already existed, maybe in a library with other cool
useful stuff. I looked at the Jakarta Commons Collections, but no luck.
Any suggestions?
Thanks!