Collections Refueled
Stuart Marks on September 17, 2020Oracle Developer Live Java 2020
The Collections Framework was introduced in JDK 1.2 back in 1998 and is still in heavy use today. Although its fundamentals remain unchanged, it has evolved considerably since its introduction, and it continues to evolve. This session describes some of the recent enhancements made to the Collections Framework, with a focus on the enhancements added to Java 9 and Java 10. Of particular note is JEP 269, Collections Convenience Factory Methods, a library-based API that serves the purpose of collection literals. These new APIs make the Collections Framework more powerful and easier to use.