next up previous contents
Next: Abstractions for associative lists Up: Discovering the Power of Previous: Combining two sets: `union'   Contents


Associative Lists in A++

Associative lists contain pairs as elements, where the first element of the pair is considered a key to the second element of the pair. Therefore the second element of the pair is called the value. The key is used to search for a certain value. Associative lists are often used as dictionaries.
Figure 5.1: Dictionary or associative list
img61.gif\includegraphics[scale=0.80]{img/assocli.eps}



Subsections

Georg P. Loczewski 2004-03-05


Impressum und Datenschutz