commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@eurobell.co.uk>
Subject [Collections][SUBMIT] PredicateList
Date Tue, 23 Apr 2002 21:23:54 GMT
Hi all,
I've updated the classes to work around the existing Predicate class and the
code below, see attached files.

Stephen

> From: Tim Moore <tmoore@blackboard.com>
> Works for me! :-)
> > From: Jack, Paul [mailto:pjack@sfaf.org]
> > I wouldn't even have a subclass for TypedList; I'd just put a
> > static convience method in the TypeCheckPredicate class:
> >
> >     static List getTypeCheckedList(List list, Class type)
> >     {
> >          return new PredicateList(list, new TypeCheckPredicate(type));
> >     }


Mime
View raw message