Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 53252 invoked from network); 15 Dec 2008 20:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 20:48:19 -0000 Received: (qmail 58657 invoked by uid 500); 15 Dec 2008 20:48:27 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 58617 invoked by uid 500); 15 Dec 2008 20:48:27 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 58606 invoked by uid 99); 15 Dec 2008 20:48:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 12:48:27 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sgfan@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 Dec 2008 20:48:06 +0000 Received: (qmail invoked by alias); 15 Dec 2008 20:47:44 -0000 Received: from p5B25C06C.dip.t-dialin.net (EHLO [192.168.0.10]) [91.37.192.108] by mail.gmx.net (mp007) with SMTP; 15 Dec 2008 21:47:44 +0100 X-Authenticated: #2828799 X-Provags-ID: V01U2FsdGVkX1+F5fZPD+GFXRFqG9BTK1UqXyJNARCNKGKoTvEH69 g1rlc37OINk8f+ Message-ID: <4946C271.4010601@gmx.net> Date: Mon, 15 Dec 2008 21:47:45 +0100 From: Michael User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: user@commons.apache.org Subject: [Collections] Transforming Maps and Lists Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 X-Virus-Checked: Checked by ClamAV on apache.org 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: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org