Associative Collections
Other collections can instead be interpreted as sort of function: given an input "key", the collection yields an output value. Important examples are sets, multisets, and associative arrays. A set can be interpreted as a specialized multiset, which in turn is a specialized map, in each case by limiting the possible values – considering a set as represented by its indicator function.
Read more about this topic: Collection (abstract Data Type)
Famous quotes containing the word collections:
“Most of those who make collections of verse or epigram are like men eating cherries or oysters: they choose out the best at first, and end by eating all.”
—Sébastien-Roch Nicolas De Chamfort (17411794)