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!!!
Watch video Java Programming: Lesson 67 - Linked Hash Sets online without registration, duration hours minute second in high quality. This video was added by user youmils03 16 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 33 once and liked it 0 people.