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

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


domain access counter Georg P. Loczewski 2004-03-05