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)
On Mon, Dec 15, 2008 at 3:47 PM, Michael <[email protected]> wrote: > Hi folks, > > I'd like to transform both. > E.g. adding strings to a list and let the transformer lowercase them. > Unfortunately the ListUtils#tranformedList(List, Transformer) transformer > only when I add elements. > > Is there a way to achieve one-time tranformation? > > Thanks, > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
