Java: A deep dive into generics

Before Java 5, collections were a bit like a junk drawer — you could throw anything in, but you never quite knew what you were pulling out…