Mindmap
Queues
Inhalt der Mindmap
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()
Informationen
- Beschreibung
- Mindmap am Queues, erstellt von Angelica Cordero am 10/05/2022.
- Erstellt von
- Angelica Cordero · Mai 2022
- Aktualisiert
- 10 Mai 2022
- Aufrufe
- 0
- Bewertung