The Dictionary, Hashtable, and Properties Classes

  • John Zukowski


In this chapter, we’ll look at the historical collection classes that offer support to store key-value pairs. Unlike the Vector class where you look up values based upon an integer index, the Dictionary class and its subclasses work with key-value pairs, where an object is the key to look up a value that is also an object. For the most commonly used subclass, Hashtable, both the key and value can be of type Object or any of its subclasses. The Properties class is another implementation. Instead of working with any type of object, the key and value must both be of type String. Figure 5–1 shows a diagram of the hierarchy of these three classes.


Hash Table System Property Property Class Cyclic Redundancy Check Hash Code 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John Zukowski 2001

Authors and Affiliations

  • John Zukowski

There are no affiliations available

Personalised recommendations