PLEASE SUBSCRIBE!!!
In the previous lesson ( • Java Programming: Lesson 66 - Concurr... ), we learned that there is more than one way to create a queue in Java. Either import Queue and LinkedList and initialize a queue as a linkedlist, or import concurrent.ConcurrentLinkedQueue and initialize it as the same. Either way, we get a first-in-first-out data structure that supports add, poll, peek, isEmpty, size, etc.
A little longer ago ( • Java Programming: Lesson 54 - Sets ), we took a look at sets (HashSet) in Java. A HashSet can only have unique elements, no duplicates. This video provides us with another alternative for creating and using a set.
0:03 Review of Concurrent Linked Queues
5:43 Review of Iterator Availability
10:28 Review of HashSets (sets)
11:20 NEW: Linked Hash Sets (a subclass of HashSet)
Do you have what it takes to finish the curriculum? You're way too close not to: • Java Programming: Lesson 68 - Linked ...
Thanks for watching, and PLEASE SUBSCRIBE!!!
Смотрите видео Java Programming: Lesson 67 - Linked Hash Sets онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал youmils03 16 Ноябрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 33 раз и оно понравилось 0 посетителям.