Skip to main content
ICT
Lesson AB28 - Sets and Maps
 
Main   Previous Next
 

AB28 Introduction page 1 of 11

As we saw in Lesson AB27, Java Lists and Iterators, a collection is an object that holds other objects. It can be used in many situations, but a collection is most often used to add, remove, and otherwise manage the elements in it.

Collections can be implemented in several ways. That is, the data structure that stores the objects can be implemented using different techniques. In this lesson, Sets and Maps will be studied. A Set is a collection of elements without duplicates. A Map is a group of elements that can be referenced by a key value.

The key topics for this lesson are:

  1. Sets
  2. TreeSet
  3. HashSet
  4. HashSet vs. TreeSet
  5. Maps
  6. TreeMap
  7. HashMap
Main   Previous Next
Contact
 © ICT 2006, All Rights Reserved.