Talk:Container (data structure)

From Wikipedia, the free encyclopedia

Definetly needs to be merged

All informations from Container class have been merged here. Links from Container class have also been redirected to this article Hervegirod 13:09, 27 May 2007 (UTC)

[edit] Container vs collection

There's an other article with similar content: Collection (computing).

To my mind, both collections and containers are related, but are definitively not the same concept. A container hold one or many other objects, allowing access to those objects through the container and eventually providing some kind of support to the stored objects.

By many aspects this definitions is compatible with other usage of the term "Container" (like in Web container or Graphic container).

A collection is a special kind of container (inheritance relation here), whose only purpose is to store and retrieve objects.

Sylvain Leroux (talk) 09:18, 10 December 2007 (UTC)