Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2
-
None
Description
Here is what I mean:
- test 1:
List l = new ArrayList();
l.add("test");
assertTrue( CollectionUtils.filter(l, FalsePredicate.getInstance()) );
assertTrue(l.isEmpty());
- test 2:
List l = new ArrayList();
l.add("test");
assertFalse( CollectionUtils.filter(l, TruePredicate.getInstance()) );
assertEquals(1, l.size());
Attachments
Attachments
Issue Links
- is related to
-
COLLECTIONS-361 Add CollectionUtils.filterOut()
- Closed