Java Collections Framework Design

From JVMLangSummit
Jump to navigationJump to search

Collections are a fundamental part of any programming language. They are up there in terms of importance with statements and operators. In this workshop Donald Raab will share his experience designing a Collections Framework in Java for use in large scale enterprise applications. The framework has evolved over many years to provide a rich and discoverable API with more memory efficient containers. Balancing a rich API, with containers with smaller memory footprints and improving (or at least not degrading) performance levels all at the same time can present some interesting challenges. We will share the design and implementation decisions made in the framework, discuss the improvements and trade-offs we made, and hopefully provide some useful insight to some of the language and VM designers what types of benefits and issues Java Collections library designers will face, as we usher in the new era of lambda support in Java.