Java collections framework

java.util.Collection class and interface hierarchy
Java's java.util.Map class and interface hierarchy

The Java collections framework is a set of classes and interfaces that implement commonly reusable collection data structures.[1]

Although referred to as a framework, it works in a manner of a library. The collections framework provides both interfaces that define various collections and classes that implement them.

  1. ^ "Lesson: Introduction to Collections". Oracle Corporation. Retrieved 2010-12-22.