P52 - Set in Java | Collections | Core Java | Java Programming |
In this video, I have explained about "Set in Java".
In this video, I'll explain Sets in Java, which are collections that allow you to store a set of unique elements. I'll cover the three main implementations of the Set interface in Java: HashSet, TreeSet, and LinkedHashSet.
I'll start with HashSet, which uses a hash map to store its elements and provides constant-time performance for basic operations like add, remove, and contains. We'll discuss its strengths and weaknesses, and look at some sample code to see how to use it.
Next, I'll move on to LinkedHashSet, which uses a LinkedHashMap to store its elements, maintaining both uniqueness and the order of insertion. I'll talk about the trade-offs between LinkedHashSet and HashSet.
Finally, I'll take a look at TreeSet, which uses a self-balancing binary search tree to store its elements and maintains them in a sorted order. I'll explain when you might want to use TreeSet instead of the other two implementations.
Throughout the video, I'll provide plenty of examples and sample code to help you understand how to use Sets in your own Java programs. Whether you're a beginner or an experienced Java programmer, you'll come away with a solid understanding of Sets and how to use them effectively in your own code.
Points covered in this video:
❇️ What is Set?
❇️ Hierarchy of Set Interface in Java
❇️ Major operations performed on Set object
🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶🔶
▶ Next Video link: link will be updated once the video is uploaded
◀ Previous Video Link: • P51 - Queue in Java | ...
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk
✴ Checkout my other playlists: bit.ly/3gLIAVL
☕ Buy me a coffee: bit.ly/33ljBWc
===================================
===================================
Connect me @
🔗 Website - www.hyrtutoria...
🔗 Telegram - t.me/hyrtutorials
🔗 Facebook - / hyrtutorials
🔗 LinkedIn - / hyrtutorials
🔗 Twitter - / hyrtutorials
🔗 Instagram - / hyrtutorials
===================================
===================================
🙏 Please Subscribe🔔 to start learning for FREE now, also help your friends in learning the best by suggesting this channel.
#hyrtutorialstelugu #selenium #java #telugu
Java programming by Yadagiri Reddy
Пікірлер: 241
↔ Core Java in Telugu Playlist link: bit.ly/3KMlbBk ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@Monica_theCreator
3 ай бұрын
I sir I wnt buy collection framework notes
@user-ic2jv9bg6o
2 ай бұрын
I sir I wnt buy collection framework notes
from 5-6 days I am watching Collections from your channel every concept is clear and it is not going from my mind all credits goes to you bro . Thankyou somuch .
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
@padmag8308
11 ай бұрын
Yes bro
@HYRTutorialsTelugu
11 ай бұрын
Thanks buddy@@padmag8308
Nobody can teach programming language like you .. Hats-off to you sir
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
I generally dont comment, if i really love the series then i surly recommend. Just go for it guys --> The best best best channel for complete Java Series(Beginner to advance) , Osm #GreatWork
@HYRTutorialsTelugu
17 күн бұрын
Thanks buddy 😊commenting helps for the videos to reach many students buddy
Your explanation is really superb sir.....Even difficult topics can understanding easily by your explanation. Please make more videos and help us sir. Thankyou so much for your hardworking......
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
FIDA to your classes Thanks from the bottom of the heart
@HYRTutorialsTelugu
11 ай бұрын
Thanks buddy 😊
You are very clear in the concepts sir.
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
I liked the way of your teaching method . really its very understandable
@HYRTutorialsTelugu
19 күн бұрын
Thanks buddy 🤩
All your videos are very clear Bro. Thank you for sharing knowledge to everyone.
@HYRTutorialsTelugu
Ай бұрын
Happy Learning buddy 🙂
Hurry Simply Set in java done tq a lot bro.......
@HYRTutorialsTelugu
8 ай бұрын
Thanks buddy 🙂
Now i am good at collections...Thank you bro
@HYRTutorialsTelugu
Ай бұрын
Super bro
Because of your videos only i learned Java very easily
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy
Sir, your explanation is so good inka enni parts migili unay. Please konchem avi kuda upload cheyandi mevalle nenu java nerchukogaluguthuna.
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
Your explanation is awesome😊
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
Thank you sir. Very very useful content. Explained very easyly
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Thanks you sir Mee daily chustunna Thankyou so much sir
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy
Sir small doubt in Map it wont allows duplicate keys, if we add again then it will be overridden, in is this Set/HashSet does it follows the same??
Beautiful teaching
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
Anna alternate ga upload chai anna chala use full ga unnai and inkoti anti mundhu class lo m chepau tharuvatha class hadhi recap petu just 20 sec
@HYRTutorialsTelugu
Жыл бұрын
Already videos lengthy avthunnai ani few members are complaining buddy
@rk-fs5mk
Жыл бұрын
@@HYRTutorialsTelugu no problem anna antha time aeina tisuko clarity ga chepu chalu ni videos vala manchi future untadhi simple and interesting videos I can't see this type explanation in you tube and couching center
@HYRTutorialsTelugu
Жыл бұрын
@@rk-fs5mk Sure buddy
Thank you for starting videos... 🎉🎉
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Hi Bro, Thanks for the video. We don't have any doubts but we can't remember all these stuff in our mind.
@HYRTutorialsTelugu
Жыл бұрын
Yeah I can understand buddy. That's why practice is important..when u r practicing you get your hands dirty with code. Then you can easily remember and also you will get lot of doubts as well
musthu cheppinav boss superb you are Jem
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
Annaa meeru yenni years software lo work chesaaru job role yentii evvanni miku yela gurthunnay Anna u r great..
@HYRTutorialsTelugu
Жыл бұрын
Once you start your job, you will also remember everything buddy. Daily use chesthune ala gurthu undi pothai
Sir you missed one point i.e HashSet, LinkedHashSet, TreeSet. How the size will increase is not mentioned
@HYRTutorialsTelugu
9 ай бұрын
Did I not cover that point? Check the video again buddy
topic is understood and explained very nicely sir :D
@HYRTutorialsTelugu
9 ай бұрын
Thanks buddy 🙂
@user-ic2jv9bg6o
2 ай бұрын
@@HYRTutorialsTelugu I sir I wnt buy collection framework notes
Sir your videos are very helpful. You are explaining the concepts clearly making it very easy to understand. Please make videos on cucumber bdd framework sir.. Thank you...
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 🙂
Tqq for came back with your wonderful videos🤗🤗🤗
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
@chikkamvaralakshmi4884
Жыл бұрын
With your pleasure 😍
Your explanation is awesome anna
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 🙂
@user-ic2jv9bg6o
2 ай бұрын
@@HYRTutorialsTelugu I sir I wnt buy collection framework notes
Thank you so much sir inka ekkuva videos cheyyandi sir
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Good❤
Sir hashing technique explaination bit is missing in map vedio .. if possible make a vedio on it sir I watched vedio related to hashing but I am confusing
@HYRTutorialsTelugu
Жыл бұрын
Ekkada confusing buddy?
@gpinky4703
Жыл бұрын
Hashing mechanism internalga process chepandi sir
@HYRTutorialsTelugu
Жыл бұрын
@@gpinky4703 deeni kanna mundu unna videos chusava buddy map video?
@computers1721
8 ай бұрын
@@HYRTutorialsTelugu Sir you did not explain hashing😢😢
@HYRTutorialsTelugu
7 ай бұрын
@@computers1721 one of collections videos lo explain chesa buddy
wonderful comeback bro
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 🙂
Tq so much sir, please try to do Advanced java,spring and spring boot also we are losing our total confusion by watching your videos. So that's why I am asking.
@HYRTutorialsTelugu
Жыл бұрын
No plan buddy 😔
sir i have a problem --------''HashSet cannot be resolved to a type" --------how to solve please reply me sir
@HYRTutorialsTelugu
Ай бұрын
send me the screenshots on hyadagirireddytutorials@gmail.com
when you showed internal implementation of hashset its also implementing serializable and clonable can you explain about them?
@HYRTutorialsTelugu
Жыл бұрын
In java they are implanted by many classes buddy.
Thank god, u r back ...
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Superb explanation bro
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
Sir in hashMap you did not explain internal implementation 17:25 hashing mechanism
Very nice explanation Anna
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
Sir devOps ante m software sir?
@HYRTutorialsTelugu
Жыл бұрын
Adi oka single software kaadu buddy. It's a process. It consists of so many tools like Unix, git, Jenkins, docker, kubernetes, Ansible etc etc...
Iam thanking again for the good explanation brother and are u able to cover multi threading and garbage collections videos and thank-you so much you fulfilled my dream of learning java ...
@HYRTutorialsTelugu
Жыл бұрын
Will make video on multi threading soon. But there is nothing to tell about garbage collector in java buddy as it is automatically taken care and not like c language
Nice explanation bro
@HYRTutorialsTelugu
11 ай бұрын
Thanks buddy 🙂
No words describe your teAching My small request is to do a topic-wise puzzle type of Pseudocodes. I know your busy schedule in free time so this it's my small request to @HYRTUTORIALS. Thanks, Guruju💫
@HYRTutorialsTelugu
9 ай бұрын
Thanks buddy 🙂
good explanation anna, but can i know the difference between HashMap and Hash Table
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂 you can learn that in the map video buddy
Sir hashset is implementing the set interface and linkedhashset extending the hashset so indirectly linkedhashset also implementing the set interface but why externally linkedhashsrt implementing set interface
@HYRTutorialsTelugu
9 ай бұрын
Daniki specific reason antu em ledu buddy. adi add cheyyakapoina problem ledu but java team ala add chesindi.
Hi Sir, HashSet internal ga HashMap use cheskuntundi annaru kadha, small doubt HashSet hs = new HashSet(); ila raste error through String daggara chestundi reason?
@HYRTutorialsTelugu
Жыл бұрын
Hashset internal ga hashmap ni use chedkuntundi but map ki set ki difference vachesi map lo key, value pair ni store chestam but set lo only keys maathrame store chestam. So anduke you can create hashset with two parameters specified. Hashset explanation motham skip cheyyakunda chusthe ee point clear ga ardam avvuddi buddy. Akkada idi cover chesanu
@harishreddy2219
Жыл бұрын
Thank you sir
Anna nak oka dout nen eclipse lo program rasi output print chesthe 1 sec lo automatically Console close iypothundhi enni sarlaa try chesina alane iythundhi set automatic delay lo 0 to 200ms change chesina kuda alane iythundhi dhiniki solution chepara ...
@HYRTutorialsTelugu
Жыл бұрын
Idi nenu epdu chudaledu buddy
Hi sir please do videos on spring boot micro services 🙏
@HYRTutorialsTelugu
Ай бұрын
No plan buddy
Sir is this last class for entire collections framework?
@HYRTutorialsTelugu
Жыл бұрын
Untill iterator the collection framework videos he buddy
NICE TEACHING SIR❤.
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
Multi threading concept detailed gaa explain cheyandi sir
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
how your are going inside functions bro. which option need to choose in eclipse.
@HYRTutorialsTelugu
Жыл бұрын
Press F3 key buddy
sir I want collection notes how can i buy
@HYRTutorialsTelugu
Ай бұрын
Reach me on hyadagirireddytutorials@gmail.com
Spring framework meeda videos cheyandi sir please sir
@HYRTutorialsTelugu
Ай бұрын
No plan buddy 😔
Thank U for the video sir...🎉🎉
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Tq very much sir 🙏♥️
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
thank you
@HYRTutorialsTelugu
4 ай бұрын
Happy learning buddy 😊
Hello Sir, Please upload Videos for Java8 Arrows concept which is most often using in Automation testing
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Thank you sir
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
👌👌👌👌👌👌
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
Thank you sir your videos are very helpfull to us .. sir actually what is underlying structure for Hashset , is HashMap or Hashtable? you confirmed it is a Hashmap ,but some people said it is Hashtable ,sir please clear the doubt
@HYRTutorialsTelugu
Жыл бұрын
I have shown the proof also buddy. So if anyone says that it is hashtable, slap on their face and show them the code. And vallani kooda code lo chupinchamanu buddy
@HYRTutorialsTelugu
Жыл бұрын
Mana eyes tho chusinde manam believe cheyyali buddy
@thotasreejapatel19sreeja16
Жыл бұрын
@@HYRTutorialsTelugu yes sir thank you
Bro....inka inthena.. inka unnaya classes ... please bro inka unte upload cheyava...
@HYRTutorialsTelugu
Жыл бұрын
Major topics are done buddy. But I'm keep on uploading the remaining important topics as well
Reddy garu pls do videos on jira and agile methodology asap
@HYRTutorialsTelugu
Жыл бұрын
Vaati meeda em plan cheyyaledu buddy
TQ sir 😊
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Thanks anna❤
@HYRTutorialsTelugu
Ай бұрын
Happy Learning buddy 🙂
Hi , can you please please do a tutorial on Jenkins , it will be of great help. 🙏🙏 the videos in KZread of other channels are like Greek and Latin , couldn’t understand at all . Can you please do it .
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy but it will take some time
Sir, still any classes remaining in this course OR is it completed with this video
@HYRTutorialsTelugu
Жыл бұрын
Not yet completed buddy. Major topics are done. Will keep on adding the videos including small topics
@saikumarmekala2686
Жыл бұрын
@@HYRTutorialsTelugu Thank you so much sir. Sir if we buy thanks here, does it completely come to you or some percentage will take by Google KZread ?
Sir multithreading concept kuda pettandi pls..
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
can you do classes on Spring boot
@HYRTutorialsTelugu
Ай бұрын
No plan buddy 😔
Thank u brother❤
@HYRTutorialsTelugu
Ай бұрын
Thanks buddy 🙂
Anna any assignmets estara set paina? Nice explanation anna
@HYRTutorialsTelugu
Жыл бұрын
Haa plan chesta buddy
❤
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
anna inka anni topics unnaii anna
@HYRTutorialsTelugu
Жыл бұрын
Almost completed buddy
Bro miru spring and springboot videos chesara
Thank You Soo Much broo❤
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Anna naku entire core Java material kavali midi
@praveenkumaranamala6565
Жыл бұрын
Including collections
@HYRTutorialsTelugu
Жыл бұрын
Nenu Inka create cheyyaledu buddy. For now only corejava ki maathrame create chesanu buddy
Sir inka videos paduthadhi complete kavadaniki
@HYRTutorialsTelugu
Жыл бұрын
Nenu count cheyyadam ledu buddy
Bro can u teach me about stream api
@HYRTutorialsTelugu
17 күн бұрын
Yes sure buddy
Hello sir, please do interview questions videos in shorts, It will help please do it
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Thank u sir
@HYRTutorialsTelugu
Жыл бұрын
Happy learning buddy 😊
Shall I get any Notes for this entire coirse
@HYRTutorialsTelugu
Ай бұрын
Notes mere videos chusaka prepare cheskovali buddy
Framework medha video cheyyandi
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
nice
@HYRTutorialsTelugu
Жыл бұрын
Thanks buddy 😊
brother purchase cheyyalekhapothunna
Hi Bro will please start Java 8 version training. So many people are looking java 8 in telugu, please do it
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy. Soon will make it happen
Junkin ki video cheyyandi sir
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
@sunkarasattibabu6349
Жыл бұрын
Thankyou sir 🙂🙂🙂
Sir.... Can you please make a video on streams and Lambda expression
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Hello sir! Can u make a video for handling different kinds of errors which are not involved with the code?
@lekhasricharyan7798
Жыл бұрын
Like error occurred during initiation of boot layer and so on..
@HYRTutorialsTelugu
Жыл бұрын
Will see buddy
Sir please explain the advance java also sir
@HYRTutorialsTelugu
Жыл бұрын
No plan buddy 😔
Anna course motam complete aeidha
@HYRTutorialsTelugu
Жыл бұрын
Ledu buddy
Hello Sir,Please provide the videos of Rest assure ASAP sir
@HYRTutorialsTelugu
Жыл бұрын
Will take some time buddy
U missed one thing in your material unna interfaces lo classes unnayi asalu a classes eppudu enduku vadali ani cheppi undalasindi adi ledu akkada and methods em use chestharu anevi kooda lev
anna, threading concepts cheppu anna
@HYRTutorialsTelugu
Жыл бұрын
Cheptha buddy but time pattuddi kaasta
Anna notes yekkada? Notes istha annav starting lo
@HYRTutorialsTelugu
11 ай бұрын
Https://www.buymeacoffee.com/yadagirireddy Indulonchi download cheskochu buddy
HIBERNET & SERVLETS AND JSP medha Vidoes Cheyyandi
@HYRTutorialsTelugu
Жыл бұрын
No plan buddy 😔
bro notes on collections?
@HYRTutorialsTelugu
11 ай бұрын
Https://www.buymeacoffee.com/yadagirireddy Can be downloaded from this website buddy
Anna multithread paina cheyandi pls
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Sir Multithreading midha class cheyandhi sir❤
@HYRTutorialsTelugu
Жыл бұрын
Sure buddy
Ani cover chesauga annna complete java
@HYRTutorialsTelugu
Жыл бұрын
Not yet buddy
bro java medha konchem fast ga cheyandi bro ..gap akkuva vachesthundhi please
@HYRTutorialsTelugu
Жыл бұрын
I have been involving in lot of things apart from videos buddy