#readwise # Container ![rw-book-cover](https://readwise-assets.s3.amazonaws.com/static/images/article0.00998d930354.png) ## Metadata - Author: [[wikipedia.org]] - Full Title: Container - URL: https://en.wikipedia.org/wiki/Container_(abstract_data_type) ## Highlights - In [computer science](https://en.wikipedia.org/wiki/Computer_science), a **container is a [class](https://en.wikipedia.org/wiki/Class_(computer_science)) or a [data structure](https://en.wikipedia.org/wiki/Data_structure) whose instances are collections of other objects**. In other words, they store objects in an organized way that follows specific access rules. ([View Highlight](https://read.readwise.io/read/01gpqqjdf6b9ctvfrjm7kn77me)) - Containers can be characterized by the following three properties: • *access*, that is the way of accessing the objects of the container. In the case of arrays, access is done with the array index. In the case of stacks, access is done according to the [LIFO](https://en.wikipedia.org/wiki/LIFO_(computing)) (last in, first out) order and in the case of queues it is done according to the [FIFO](https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)) (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. ([View Highlight](https://read.readwise.io/read/01gpqqkfp5f371z57x2hdjkda5))