commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.C. Baltz" <>
Subject [COLLECTIONS] How should PredicatedCollections work?
Date Fri, 18 Jul 2003 06:36:38 GMT
I tried to use a Predicated List today (ListUtils.predicatedList)  and 
it didn't work the way I expected.  What I wanted to do was pass it a 
list of items and a Predicate such that it would "filter" the list for 
me and the new list would only contain those items that match the 
predicate.  However, I received an IllegalStateException because items 
in my list didn't match the Predicate.  What is the point of the 
predicated list if it does this?


View raw message