next up previous contents index
Next: Set Pattern Up: General Programming Patterns and Previous: List Pattern   Contents   Index


Dictionary Pattern

Dictionaries are lists of pairs, where the first element of the pair has the function of a key to the second element which is called the value.

Directories may be implemented as associative lists or as hash tables. Associative lists in A++ are covered in section assoc.

\includegraphics[scale=0.80]{img/assocli.eps}


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