Container (programming)


Container (or container, collection) - A data structure that stores organized data (objects) in a structured way. The container provides access tools, including adding, removing, and retrieving the object (s) in the container. Depending on the organization, individual containers differ in the performance of the individual operations.

The simplest container, offered by most languages, is the array. Composite containers can be characterized by a specific organization of stored data or the existence of additional manipulations for content.

Containers sometimes impose restrictions on data that can be stored in them. These constraints usually result from the adopted data storage structure, relationships between data, etc.

Containers can have a polymorphic type, so you can precisely specify the type of data you are storing. Languages ​​such as Java or C ++ offer container libraries that support parametric polymorphism, where you can store values ​​of arbitrary types. Sample containers tree



wiki

Comments

Popular posts from this blog

Association of Jewish handicrafts "Jad Charuzim"

Grouping Red Arrows

Catechism of Polish Child