Java Programming: Lesson 67 - Linked Hash Sets

Published: 16 November 2021
on channel: youmils03
33
0

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, duration hours minute second in high quality that is uploaded to the channel youmils03 16 November 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 33 times and liked it 0 visitors.