Mapa mental
Queues
Contenido del 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()
Información
- Descripción
- Mapa Mental sobre Queues, creado por Angelica Cordero el 10/05/2022.
- Creado por
- Angelica Cordero · may 2022
- Actualizado
- 10 may 2022
- Visitas
- 0
- Valoración