In this video, we explain the ArrayDeque dynamic structure in Java, also known as a double queue. You will learn how to insert elements at the beginning or end, remove them, and traverse the structure efficiently.
📌 What we'll cover in detail:
How to use ArrayDeque in Java SE
Inserting elements with offer, offerFirst, and offerLast
Retrieving elements without deleting them (peekFirst, peekLast)
Deleting elements (pollFirst, pollLast)
Traversing the structure from beginning to end and vice versa
Using Iterator and descendingIterator to display data without deleting it
Practical examples of queues and stacks in a single structure
🎯 This video is ideal for:
Understanding advanced dynamic structures in Java
Reinforcing OOP with practical examples
Preparing for exams or technical interviews
Applying ArrayDeque to real-world problems
Course GitHub: https://github.com/DiscoDurodeRoer/cu...
Complete dynamic structures course in one video: • Domina las Estructuras Dinámicas en Java c...
Join this channel to access its Benefits:
/ @discoduroderoer
Get discount coupons for my Udemy courses:
https://cupones.discoduroderoer.es/#/...
Follow my upcoming events:
https://eventos.discoduroderoer.es
Visit our website: http://www.discoduroderoer.es/
Need a quality server? Webempresa has you covered. https://clientes.webempresa.com/europ...
Want to follow our work? Visit our GitHub. https://github.com/DiscoDurodeRoer
Become our patron! / discoduroderoer
Follow us on social media:
Facebook: http://goo.gl/JcLshS
Twitter: http://goo.gl/MU2Gbo
YouTube: http://goo.gl/5vjkGP or subscribe
Discord: / discord
Twitch: / discoduroderoer_prog
If you want to contact us with any questions or send us exercises: administrador@discoduroderoer.es
Episodes:
00:00 Introduction
00:38 How to create an ArrayDeque in Java
01:05 Adding elements with ArrayDeque in Java
01:58 Displaying an ArrayDeque in Java
02:27 Displaying the first and last element in Java with peekFirst and peekLast
03:04 Displaying the first and last element in Java with pollFirst and pollLast
04:30 Traversing a Java arraydeque from beginning to end
05:09 Traversing a Java arraydeque from end to beginning
05:50 Traversing a Java arraydeque from beginning to end with an iterator
06:38 Traversing a Java arraydeque from end to beginning with an iterator
Nesta página do site você pode assistir ao vídeo on-line ArrayDeque in Java explained simply: insert at the beginning or the end duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário DiscoDurodeRoer 07 Janeiro 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 125 vezes e gostou 5 espectadores. Boa visualização!