Java Queue

preview_player
Показать описание
The Java Queue interface represents a data structure where you add elements to the end of the queue, and remove them from the beginning of a queue. This is similar to how a queue in a supermarket works. Customers enqueue themselves at the end of the queue, and are served one by one from the beginning of the queue.

Chapters
0:00 Java Queue introduction
1:50 Java Queue implementations
3:17 Java Queue generic types
4:30 Insert elements into Java Queue
5:02 Take elements from Java Queue
5:39 Peek at first element in Queue without removing it
6:20 Get Queue size
7:05 Remove all elements from Java Queue
7:59 Check if Java Queue contains a given element
8:48 Iterate elements in Java Queue

Java Queue tutorial - textual version:

Java Deque tutorial - textual version:

Java Queue tutorial - textual version

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

Great tutorial! I follow all tutorials in textual and video versions. I learn Java for my college and this tutorials are extremely helpful.

jakubczechowski
Автор

Very good. Explaining the difference between the methods that throw exceptions vs. ones that return a special value is important. Other channels omit that and then have two dozen confused people asking questions and making wrong guesses in the comments.

jvsnyc
Автор

Nice tutorial! Very clear and concise explanations to various queue usages. Thanks for making that!.

bundole
Автор

You just won yourselves a subscriber, many thanks!

rey_nemaattori
Автор

Straightforward and informative. Very nice!

MrDoctorSchultz
Автор

Amazing explanation, so happy I found your channel.
As a suggestion, please create a playlist of all the java collections, they are very confusing to master.

atefe
Автор

Your textual version is also awesome. Thanku

shivamtyagi
Автор

hey Jakob, thanks for ur tutorials on a website, its very helpful for studying basic libraries)

-boiadeiro-
Автор

This was very helpful thank you! Im trying to do a PriorityQueue using arraylists on java but im having a lot of difficulty. Im a beginner haha

karthikeyakarampudi
Автор

YouTube should not be a ground to showcase one's expertise, but it should be a platform to explain things in details. For example, we don't know about anything Customer class in this video and just be like a parrot. So many dislikes to this video.

sukumarsa
join shbcf.ru