mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
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:
parent
a202e9ca19
commit
3ff2649833
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user