Specifications
Sun Services
Java™ Programming Language
Module 9, slide 25 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
The Collections API
•Acollection is a single object representing a group of
objects known as its elements.
• The Collections API contains interfaces that group
objects as one of the following:
• Collection – A group of objects called elements;
any specific ordering (or lack of) and allowance of
duplicates is specified by each implementation
• Set – An unordered collection; no duplicates are
permitted
• List – An ordered collection; duplicates are
permitted










