Speaker Details

Maurice Naftalin

Four+ decades as a programmer, teacher, and author. Java Champion, frequent conference speaker. Disorganiser of JAlba, best unconference in Scotland! Author "Mastering Lambdas". Currently revising "Java Generics and Collections" for a second edition.

Java Collections Puzzlers
Conference (INTERMEDIATE level)
Room 9

The Java Collections Framework is the most widely used API – probably in your application too. You use it all the time, but do you really know your way around it? You can be surprised even by common classes like ArrayList and HashMap, let alone by the handling of null values or immutability in lesser-known classes. In this interactive session, we’ll look at some obvious code and its less-than-obvious effect. It’s up to you to guess the outcome! But everything will be explained, and you’ll end up knowing how to avoid pitfalls, both well-known and obscure, in using the Collections Framework. 



More