Stressing that existing objects are not transformed as per Paul's request in COLLECTIONS-288

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638227 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2008-03-18 06:11:16 +00:00
parent a202e9ca19
commit 3ff2649833

View File

@ -348,6 +348,10 @@ public class ListUtils {
/**
* Returns a transformed list backed by the given list.
* <p>
* This method returns a new list (decorating the specified list) that
* will transform any new entries added to it.
* Existing entries in the specified list will not be transformed.
* <p>
* Each object is passed through the transformer as it is added to the
* List. It is important not to use the original list after invoking this
* method, as it is a backdoor for adding untransformed objects.