Mapa mental
Queues
Conteúdo do mapa
Queues
Collection of objects that are inserted and removed according to the FIFO principle
- FIFO: first-in, first-out
Update methods
- enqueue()
- Adds element e to the back of the queue
- dequeue()
- Removes and returns the first element
- enqueue()
Accessor methods
- first()
- Return the first element of the queue, without removing it
- size()
- Returns the number of elements in the queue
- isEmpty()
- Returns a boolean indicating whether the queue is empty
- first()
Informações
- Descrição
- Mapa Mental sobre Queues, criado por Angelica Cordero em 10-05-2022.
- Criado por
- Angelica Cordero · mai 2022
- Atualizado
- 10 mai 2022
- Visualizações
- 0
- Avaliação