GO-V.ORG
As seen in

Container (abstract data type)

In computer science, a container is a class or a data structure whose instances are collections of other objects.[src] In other words, they store objects in an organized way that follows specific access rules.[src] The size of the container depends on the number of objects (elements) it contains.[src] Underlying (inherited) implementations of various container types may vary in size, complexity and type of language, but in many cases they provide flexibility in choosing the right implementation for any given scenario.[src] Container data structures are commonly used in many types of programming languages.[src]

]] In computer science, a container is a class or a data structure whose instances are collections of other objects.[src] In other words, they store objects in an organized way that follows specific access rules.[src] The size of the container depends on the number of objects (elements) it contains.[src] Underlying (inherited) implementations of various container types may vary in size, complexity and type of language, but in many cases they provide flexibility in choosing the right implementation for any given scenario.[src] Container data structures are commonly used in many types of programming languages.[src] ==Function and properties== Containers can be characterized by the following three properties: access, that is the way of accessing the objects of the container.[src] In the case of arrays, access is done with the array index.[src] In the case of stacks, access is done according to the LIFO (last in, first out) order and in the case of queues it is done according to the FIFO (first in, first out) order; storage, that is the way of storing the objects of the container; traversal, that is the way of traversing the objects of the container.[src] Container classes are expected to implement CRUD-like methods to do the following: create an empty container (constructor); insert objects into the container; delete objects from the container; delete all the objects in the container (clear); access the objects in the container; access the number of objects in the container (count).[src] Containers are sometimes implemented in conjunction with iterators.[src] ==Types== Containers may be classified as either single-value containers or associative containers.[src] Single-value containers store each object independently.[src] Objects may be accessed directly, by a language loop construct (e.g.[src] for loop) or with an iterator.[src] An associative container uses an associative array, map, or dictionary, composed of key-value pairs, such that each key appears at most once in the container.[src] The key is used to find the value, the object, if it is stored in the container.[src] Associative containers are used in programming languages as class templates.[src] Container abstract data types include: FIFO queues LIFO stacks Priority queues Lookup tables (LUTs) Key-associated data structures Sets, containing and indexing objects by value or by specific property; Maps, associating to each key a "value" for lookup Common data structures used to implement these abstract types include: Arrays and their derivatives Linked lists Binary search trees (BSTs), particularly self-balancing BSTs Hash tables ==Graphic containers== Widget toolkits also use containers, which are special widgets to group other widgets, such as windows, panels.[src] Apart from their graphical properties, they have the same type of behavior as container classes, as they keep a list of their child widgets, and allow adding, removing, or retrieving widgets among their children.[src] ==References== ==External links== Container Data Structure Declaration and Initialization eo:Ujo pt:Container (programação) qu:Wisina[src]

25 sentences · 25 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Container (abstract data type)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/container-abstract-data-type. Accessed 03 December 2026.

Chicago

"Container (abstract data type)." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/container-abstract-data-type.

APA

encyclopegia.org. (2026). Container (abstract data type). Retrieved December 3, 2026, from https://encyclopegia.org/wiki/container-abstract-data-type

Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

ZIM America-class container ship

stub · references available

digital data

stub · references available

Enhanced Data Rates for GSM Evolution

stub · references available

Data Becker

stub · references available

Polity data series

stub · references available

roller container transport system

stub · references available

abstract

stub · references available

abstract interpretation

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1356466999 · 0.5 · snapshot enwiki-001356466999

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.