I would always check CollectionUtils first. On Mon, Dec 15, 2008 at 4:56 PM, Michael <sg...@gmx.net> wrote: > Michael wrote: >> >> James Carman wrote: >>> >>> Have you tried this? >>> >>> >>> http://commons.apache.org/collections/api-release/org/apache/commons/collections/CollectionUtils.html#transform(java.util.Collection,%20org.apache.commons.collections.Transformer) >> >> No, >> >> I tried >> http://commons.apache.org/collections/api-release/org/apache/commons/collections/ListUtils.html#transformedList(java.util.List,%20org.apache.commons.collections.Transformer) >> >> beause it seems the best thing which it isn't :-( > > EDIT: Your proposed method does! > > Unfortunately the Util classed and collection/map classes are not really > done uniformly :-( > I have to transform a list of maps which contain oracle.sql.TIMESTAMP but > has to be java.sql.Timestamp since oracle's timestamp is useless in JSP and > DisplayTag (fmt, comparable). > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org