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.