Objectives : TreeMap and HashMap

  • understand concept of a TreeMap as an ADT
  • understand the concept of a HashMap as an ADT
  • be able to design and maintain a class using a TreeMap or HashMap as ADT
  • understand that TreeMap and HashMap code will be the same
  • understand when it is appropriate to use a TreeMap or a HashMap
  • be able to pick between the two based on the nature of the data usage
HOME