Can a lambda can be used to change a List's values in-place ( without creating a new list)?
- by Saint Hill
I am trying to determine the correct way of transforming all the values in a List using the new lambdas feature in the upcoming release of Java 8 without creating a **new** List.
This pertains to times when a List is passed in by a caller and needs to have a function applied to change all the contents to a new value. For example, the way…