Closed GoogleCodeExporter closed 9 years ago
Thanks for contributing this!
I'm busy right now, but I'll look this over in January.
Original comment by jared.l....@gmail.com
on 19 Dec 2007 at 9:12
I've just filed issue 48. If we implement that, then you will be able to
accomplish
your filtering in place using
filter(myCollection, predicate).clear()
or
filter(myMap.keySet(), predicate).clear()
where the predicate matches what you want removed.
If that goes forward, I will close this issue, but thank you very much for the
idea.
Original comment by kevin...@gmail.com
on 30 Jan 2008 at 5:15
I wrote Collections2.filter(Collection, Predicate) and Sets.filter(Set,
Predicate)
methods that create a filtered Collection or Set. They return a filtered
Collection
or Set view.
We don't yet have any map-filtering logic.
Original comment by jared.l....@gmail.com
on 17 Jul 2008 at 9:00
I implemented three Maps methods that return filtered maps: filterKeys(),
filterValues(), and filterEntries(). They'll be in the next release.
Original comment by jared.l....@gmail.com
on 13 Oct 2008 at 6:36
Original issue reported on code.google.com by
ericcram...@gmail.com
on 19 Dec 2007 at 4:21Attachments: