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


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.

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


Georg P. Loczewski 2004-03-05


Impressum und Datenschutz