Java Deque

preview_player
Показать описание
The Java Deque interface represents a double ended queue (DEQue), meaning a queue which you can enque and deque elements at both ends of the queue. In a normal queue you enque elements at the end, and deque elements from the beginning of the queue. The name Deque is pronounced "deck", like a "deck" of cards.

Chapters:
0:00 Java Deque introduction
1:39 Java Deque implementations
2:20 Java Deque generic types
4:12 Add elements to a Java Deque
6:34 Peek at elements in a Java Deque without removing them.
8:03 Take elements from a Java Deque
10:12 Check if Java Deque contains specific element
10:59 Java Deque size - get number of elements in Deque
11:21 Iterate elements of a Java Deque

Java Deque tutorial - textual version
Рекомендации по теме
Комментарии
Автор

Thank you.
You have clear and understandable English Pronunciation. I am learning Java and English in same time by yours videos.

alexfrost
Автор

Very helpful, studying here at 5 am, 2 hours more to do the exam and this guy here help me very well thank you very much sir, from india.

SouhaibELHASSOUNI
Автор

Very pleasant to listen to your explanation, thanks for sharing

maxmuster
Автор

This was so clear and easy to understand.
Thank you Jakob!

shauryasingh
Автор

This video was so simple to understand and precise. Thank you so much.

aditikaushik
Автор

Thank you. I had been following your website since long time. I am glad to find your YouTube videos today and it's fascinating. Thank you for the amazing content.

AmirthaR
Автор

Wonderfully concise and clear video on deques! Thank you.

dangerbirb
Автор

Finally got how to implement Deque in Java and use related methods. This vid is very useful thank you sir :D

harpercfc_
Автор

The best explanaition of dequeue thanks!!!

jose.brother
Автор

Thank you very much, your explanation is clear as crystal!

Snowmanver
Автор

Thank, that was really good, simple, clear and straight to the point - very nice!

Qongrat
Автор

this is great, BTW, i also like your website for java tutorial. Thanks!

vincent-uhuo
Автор

Thank you very much for that very helpful video.

everythingtiktok
Автор

What do you mean "if the deque is full"? I didn't think they could get full: they can just keep increasing size by 1. Or is it if the deque reaches some memory limit?

christopherrowley
Автор

are there no differences between addlast and add??

alexlu
Автор

Java is trash. Why are there so many methods that do the same thing. C++ is much more concise. C++ is superior to java.

connor-darling