Quick Index
Goals


Before starting this chapter we want to browse and understand the concepts in the previous chapter -- 601HashTableConcepts.

In this chapter we aim to assemble the main design pieces that can be delivered to the coding team for coding:


Concept Design (From Previous Chapter)


We will start with the concept design from the previous chapter as our starting point.

Here are the highlights of that design:

HashTable Object Diagram
Notes:
  • The buckets sub-component must have fast indexed access
  • Each bucket is a very small collection/list that does not need fast indexed access
  • The elements in each bucket are Association objects where each Association holds a key and value.

More details here...
HashTable
  |
  +------- buckets ------- an Array
  |
  +------- maxLoadRatio -- an integer