The Java Collections Framework was a huge leap forward when it was introduced as part of Java 2 (JDK 1.2). Thanks to the included collection classes we finally moved beyond the limits of Vector and Hashtable to more mature and generic solutions. With the introduction of Streams and functional concepts in Java 8, the framework took everything to the next level.

One of the core principles underlying the framework is coding to the interface. As such, you would use the List interface or a Collection interface instead of the concrete implementation. This is great engineering but it makes debugging the Java Collections far more challenging.

Top
Generated by Feedzy