Abstract
Applications often must manage collections of objects. Although you can use arrays for this purpose, they are not always a good choice. For example, arrays have fixed sizes, making it tricky to determine an optimal size when you need to store a variable number of objects. Also, arrays can be indexed by integers only, making them unsuitable for mapping arbitrary objects to other objects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Peter Späth and Jeff Friesen
About this chapter
Cite this chapter
Späth, P., Friesen, J. (2020). Exploring the Collections Framework. In: Learn Java for Android Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5943-6_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5943-6_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5942-9
Online ISBN: 978-1-4842-5943-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)