Cover Data Structures and Algorithms with Object-Oriented Design Patterns in Java
next up previous contents index

Implementation

Program gif introduces the ChainedHashTable class. The ChainedHashTable class extends the AbstractHashTable class introduced in Program gif. The ChainedHashTable class contains a single field called array. It is declared as an array of LinkedLists. (The LinkedList class is described in Chapter gif).

   program11167
Program: ChainedHashTable fields.


next up previous contents index

Bruno Copyright © 1998 by Bruno R. Preiss, P.Eng. All rights reserved.