Hi,
What kind of criteria? I mean, is that like a list of numbers and you
want to get a range of numbers pulled out? Or are they POJOs like a
'Person' where you want to pull out all persons 'where firstName like
'Pete', pretty much using it like a database?
You can take a look at SortedSet's subSet( ) method if that is in line
with your direction.
-cheers,
Manish
alejandrina - 01 Oct 2006 18:57 GMT
Yes, that's certainly useful. What would be MOST useful would be
something like:
List result = list.findAll (method)
where method is the selector. Haven't seen this anywhere...
Thanks,
Alejandrina
> Hi,
>
[quoted text clipped - 8 lines]
> -cheers,
> Manish