RFR: 8001647: In-place methods on Collection/List (original) (raw)
Akhil Arora akhil.arora at oracle.com
Sat Dec 8 01:42:28 UTC 2012
- Previous message: RFR: 8004651 - TEST: java/util/logging/CheckLockLocationTest.java failed to delete file (win)
- Next message: RFR: 8001647: In-place methods on Collection/List
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
As part of the Library Lambdafication, this patch adds the following default methods to Collections -
Iterable.forEach(Block) Collection.removeAll(Predicate) List.sort(Comparator) List.replaceAll(UnaryOperator)
It also provides more efficient implementations of these methods for ArrayList, Vector and CopyOnWriteArrayList. Please review.
http://cr.openjdk.java.net/~akhil/8001647.1/webrev/
Thanks to the many people who have already contributed to this patch.
- Previous message: RFR: 8004651 - TEST: java/util/logging/CheckLockLocationTest.java failed to delete file (win)
- Next message: RFR: 8001647: In-place methods on Collection/List
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]