Exploring the Collections Framework

  • Jeff Friesen
Chapter

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.

Keywords

Sugar Nickel Corn Mercury Sorting 

Copyright information

© Jeff Friesen 2014

Authors and Affiliations

  • Jeff Friesen
    • 1
  1. 1.MBCanada

Personalised recommendations