Skip to main content

Exploring the Collections Framework

  • Chapter
  • First Online:
Learn Java for Android Development
  • 1448 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Peter Späth and Jeff Friesen

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics