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
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2013 Jeff Friesen
About this chapter
Cite this chapter
Friesen, J. (2013). Exploring the Collections Framework. In: Learn Java for Android Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5723-3_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5723-3_9
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5722-6
Online ISBN: 978-1-4302-5723-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)