HashSet (Collection Framework)

  Рет қаралды 356,194

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 109
@MadForCs16
@MadForCs16 4 жыл бұрын
This guy never disappoints.
@saifhaidri5152
@saifhaidri5152 10 жыл бұрын
Durga Sir, one thing i will definitely comment, i have seen most of your collection videos and the way you have explained the concepts with example on such tough topics collections made me very easy to understand. The way you explained conceptually every topics is amazing. Thank you so much sir. If possible please put one video on Hashcode() and equal method () importance and differences. I have seen others video on this topic but not at all clear.
@rohinimv3412
@rohinimv3412 2 ай бұрын
Thank you 😊 so much Durga sir for uploading vedios. 🙏
@abhisheksarkar9182
@abhisheksarkar9182 5 жыл бұрын
Hi Sir, HashSet will be heterogeneous only when we don't provide Generic with it. In that case ArrayList, LinkedList all can be heterogeneous if we don't use Generic. And using collection without generic in a project will lead to this warning "Type safety: The method add(Object) belongs to the raw type HashSet. References to generic type HashSet should be parameterized".
@ArjunSingh-is1bg
@ArjunSingh-is1bg 3 жыл бұрын
JAVA King DurgaSir
@poornisridhar270
@poornisridhar270 5 жыл бұрын
Sir thank you so much I am new to java ur explanations are very easy to understand. Even I saw lot of concepts but not understandable
@somdevbasu3879
@somdevbasu3879 6 жыл бұрын
FOR QUICK OVERVIEW:(these are timestamps) 2:57 7: 46 14:27 17:25
@sarbeshkumarsingh1328
@sarbeshkumarsingh1328 7 жыл бұрын
Best teaching style............. Thanks Alote.....................
@javascriptwar9525
@javascriptwar9525 6 жыл бұрын
🙏😢Awesome sir ... You make it easy.. ❤no word to say ...
@mohammadmunshi8245
@mohammadmunshi8245 8 жыл бұрын
Way of Explanation is Wonderfull !
@atulrulers
@atulrulers 5 жыл бұрын
Just a suggestion. Subtitle will help a lot.
@sandeepkiran8039
@sandeepkiran8039 7 жыл бұрын
thanks sir for giving valuable classes @ free...
@DineshMallee
@DineshMallee 7 жыл бұрын
Concept explanation is awesome. Thanks. :)
@Sanjivan_Agro
@Sanjivan_Agro 3 жыл бұрын
Mr. Java
@SaumyaSrivastava-sh4yh
@SaumyaSrivastava-sh4yh Ай бұрын
What is the underlying data structure of HashSet? I recall having read it as HashTable but now it's updated to hashMap. Was what we read earlier wrong?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Ай бұрын
Hello Saumya. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@last_theorem
@last_theorem 6 жыл бұрын
How does the the hash set extend there field. In the case of arraylist all the data is transferred to a newly formed big fields ,what procedure is followed in the hashset.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Nibin. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@rushikumarn4394
@rushikumarn4394 9 жыл бұрын
hello sir, your classes are excellent but if u upload the remaining map and queue videos also it will be very beneficial for us
@AshishPai1
@AshishPai1 9 жыл бұрын
What is the meaning of underlying datastructure for HashSet is hashtable?
@DharmendraKumar-ut2bn
@DharmendraKumar-ut2bn 10 жыл бұрын
superb video sir....
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Dharmendra Kumar View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI View other videos on ADV JAVA kzbin.info/www/bejne/bmTNfaSKdsekh7c
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@top5things968
@top5things968 2 жыл бұрын
Than k you Durga sir
@ananthagadi1052
@ananthagadi1052 8 жыл бұрын
You are doing good sir, Please correct for people, who are following you. Underlining data structure is HashMap not Hashtable.
@RishabhRJ04
@RishabhRJ04 5 жыл бұрын
Your comment is wrong. Underlying data structure for HashSet is Hashtable not Hashmap. As it implements the Set Interface, duplicate values are not allowed. Objects that you insert in HashSet are not guaranteed to be inserted in same order. Objects are inserted based on their hash code.
@harendrayegr
@harendrayegr Жыл бұрын
in the example of hashset , i have to use javac -xlint
@prajyotbhatkar4776
@prajyotbhatkar4776 5 жыл бұрын
I want to know Sir you are saying that new HashSet is created when 75% of 1st HashSet is filled but what is the size of new HashSet?? Is there any rule/formula to calculate size of new HashSet?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Prajyot. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@kavyag6485
@kavyag6485 5 жыл бұрын
It gets doubled each time whenever it is completely loaded...I.e., 16,32,64.....
@pavankumar0425
@pavankumar0425 7 жыл бұрын
Awesome Explanation ... Thanks a lot .... please let us know if you have anything in C# side or C++
@srigowtham1446
@srigowtham1446 10 жыл бұрын
Load factor is about when will be new HashSet will be created? but what will be the new capacity?
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
'The initial capacity of HashSet is 16. When the load factor (0.75) is reached, i.e. 16 * 0.75 = 12; on the insertion of the 12th element the capacity is doubled, i.e. it becomes 32.'
@gauravsharma-oj2dz
@gauravsharma-oj2dz 4 жыл бұрын
Hi Sir, Thanks for providing high-quality learning resources. You teach really well. I have one question like in an ArrayList after 100% capacity reached new ArrayList is created, similarly, if we create a HashSet with an initial capacity of 10 when the new HashSet will get created i.e when inserting 8th element or after inserting 7th element.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Gaurav. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@venkatachaitanyayadla1794
@venkatachaitanyayadla1794 3 жыл бұрын
I think after trying to insert 8th element
@GauravKawatrakir
@GauravKawatrakir 8 жыл бұрын
awesome tutorials....underlying data structure of hashset is hashTable as sir said in video but when i google it every where i find internal implementation of hashset is hashmap. so it becomes bit confusing. which one is underlying data structire please clarify as soon as possible.
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
hashmap indeed. 'This class implements the Set interface, backed by a hash table (actually a HashMap instance). It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time. This class permits the null element.'
@sandromartins3579
@sandromartins3579 10 жыл бұрын
The accent was too strong, so had to pay very close attention on the english part, but the explanation was very good! Thanks.
@thevagabond85yt
@thevagabond85yt 10 жыл бұрын
I appreciate you for not using bad words. He is from south India and people there find it hard to pronounce the correct way. Some british and EU ppl use bad words to express there hatred for bad accent and ignore the effort in teaching stuff.
@vijaygmaster
@vijaygmaster 9 жыл бұрын
tHe_VaGaBonD ....yes man...even I m happy...he has explained very nicely...
@viksam009
@viksam009 7 жыл бұрын
People in South speak English quite nicely and only few who come from smaller towns talk like this. I dont mean to offend the teacher because he is teaching well but just saying based on what I've seen. I have seen people speak English worse than this in North. Outside big cities like Delhi, North Indians speak English quite poorly with an ugly accent whereas most people in South can speak basic English.
@fortunespirit
@fortunespirit 5 жыл бұрын
English is his third language. so ups and downs are natural. teaching on the other hand is the best
@aditchauhan876
@aditchauhan876 5 жыл бұрын
At best he is not adding fake accent. He is natural with a immense knowledge.
@sudihits2430
@sudihits2430 7 жыл бұрын
Very good explanation
@Ranjithreddysamrat
@Ranjithreddysamrat 9 жыл бұрын
Sir, We use Arraylist for frequent retrial because its implements RandomAcccess. then why we use hash set for frequent retrial which will not implement Random access...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Ranjith reddy View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
following
@parasmani8514
@parasmani8514 7 жыл бұрын
'null' insertion is not allowed in Hashtable but it is allowed in HashMap.
@brajasekhar6238
@brajasekhar6238 4 жыл бұрын
Which method is used to find the default capacity in hashset?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Raja Sekhar. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@pal0106
@pal0106 10 жыл бұрын
what is the size ratio with which the object will be recreated after the max capacity is reached? like for arraylist , the new size of arraylist is 3/2*originalSize +1
@renjithr7676
@renjithr7676 6 жыл бұрын
The size will double . kzbin.info/www/bejne/nITNqZuFjrV1iKs
@akshatakabeer7794
@akshatakabeer7794 8 жыл бұрын
very nice sir..
@abhay11121988
@abhay11121988 10 жыл бұрын
Sir underlying data structure for HashSet is HashMap . Please correct me if I am wrong
@abhay11121988
@abhay11121988 10 жыл бұрын
Because Hashtable doesn't allow null value.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 10 жыл бұрын
yes underlying Data Structure for HashSet is HashMap but HashMap is internally implemented by using Hashtable only. Thats why in general we consider underlying data structure for both HashSet and HashMap is Hashtable.
@abhay11121988
@abhay11121988 10 жыл бұрын
Thank u sir
@vijaygmaster
@vijaygmaster 9 жыл бұрын
Durga Software Solutions thanks a lot...even I was thinking d same...how come Durga sir can do mistake...
@rexsam3134
@rexsam3134 4 жыл бұрын
Better run example using Eclipse and show the hash details
@kasuvenkateshwarreddy8469
@kasuvenkateshwarreddy8469 8 жыл бұрын
This is his native prononce .new capacity is 16 while debug time u can find out
@aanu9402
@aanu9402 8 жыл бұрын
Hi Sir,can you please tell me how hashset internally work in java that video please
@aditay7538
@aditay7538 8 жыл бұрын
sir u r great
@krishnavenibr183
@krishnavenibr183 5 жыл бұрын
How to find first and last element in hashset sir. Is there any predefined method.
@WonderfulSound8
@WonderfulSound8 5 жыл бұрын
I think if we can iterate over iterator, so maybe no, because iterator has only next method
@Sandhyaauti
@Sandhyaauti 3 жыл бұрын
Hello sir, is ppt available for whole collection Framework playlist ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Sandhya. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@akashkharat2946
@akashkharat2946 9 жыл бұрын
whats the new capacity of new hashset that you not specify
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
'The initial capacity of HashSet is 16. When the load factor (0.75) is reached, i.e. 16 * 0.75 = 12; on the insertion of the 12th element the capacity is doubled, i.e. it becomes 32.' REPLY
@gnanendrachowdary480
@gnanendrachowdary480 6 жыл бұрын
What is meant by underline data structure and hash code????
@saipavan6562
@saipavan6562 10 жыл бұрын
sir, if load factor is 0.75 and initial capacity is 16. After inserting 12 elements what will be the new Capacity? i mean how it grows further?
@rakshithkanduri4372
@rakshithkanduri4372 4 жыл бұрын
it get doubles that means 16-32,32-64..........
@mittapallihareesh1703
@mittapallihareesh1703 8 жыл бұрын
I am using default load factor 0.75, and it reaches now new Hashset will be created , What is size of new Hashset ? Any formula is there to found ?
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
'The initial capacity of HashSet is 16. When the load factor (0.75) is reached, i.e. 16 * 0.75 = 12; on the insertion of the 12th element the capacity is doubled, i.e. it becomes 32.' REPLY
@ravinasomvanshi6844
@ravinasomvanshi6844 8 жыл бұрын
Hello Sir..could you tell us how to find capacity of HashSet(Not size of HashSet) ...Also after0.75% fill ratio of how much capacity new HasSet gets created?
@abhidita143
@abhidita143 8 жыл бұрын
go to paid tutorial!!!
@Bigdaddy91982
@Bigdaddy91982 7 жыл бұрын
'The initial capacity of HashSet is 16. When the load factor (0.75) is reached, i.e. 16 * 0.75 = 12; on the insertion of the 12th element the capacity is doubled, i.e. it becomes 32.' REPLY
@sakshamapuri5517
@sakshamapuri5517 6 жыл бұрын
Please have a tutorial for concurrent hashmap
@manishsultanpure639
@manishsultanpure639 4 жыл бұрын
sir it is not giving false. If values are same so .Only it is ignoring that.
@TravelWorld1
@TravelWorld1 10 жыл бұрын
Good video
@SwaroopKumarNallagalv
@SwaroopKumarNallagalv 10 жыл бұрын
plz add remaining videos of collections also...
@ccubecreations6887
@ccubecreations6887 3 жыл бұрын
What about new Capacity formula
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@shashikantadandasena9796
@shashikantadandasena9796 9 жыл бұрын
sir please guide me on hashtable or upload video for hashtable..
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
***** Demo Sessions on youtube, Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas, Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68, Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68.
@srikanthadani8224
@srikanthadani8224 8 жыл бұрын
sir please upload Hashtable video
@muhammedbasuney
@muhammedbasuney 9 жыл бұрын
how to treat with equal and hashcode methods in hashset when the duplicate occur in hashset program like this example .. package collectionns; import java.util.HashSet; public class hashseterror { String language; int year; public hashseterror(String adress, int age) { this.language = adress; this.year = age; } public String toString() { return language + " " + year; } public static void main(String[] args) { HashSet hash = new HashSet(); hash.add(new hashseterror("java", 2015)); hash.add(new hashseterror("java", 2015)); System.out.println(hash); } } please explain video to treat with this error
@CprkMagicMoves
@CprkMagicMoves 9 жыл бұрын
Thank you sir.. and can you possible to upload java.util.concurrent package? Some people asked in interview room.. I want more knowledge on concurrent package sir..
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Chiguru Praveenkumar View other videos on Collections in Java and click the below link kzbin.info/www/bejne/qHqWh55_qahjm6M
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@nstha8848
@nstha8848 8 жыл бұрын
but you never talked about how or why it is best for search operation ? I was expecting something about it....
@bharaniakella7734
@bharaniakella7734 7 жыл бұрын
Because hashing techniques have O(1) time complexity for their search operation.
@mohdrafi7672
@mohdrafi7672 7 жыл бұрын
this video is good bcz less timing video
@kartikn1619
@kartikn1619 9 жыл бұрын
please upload java applet videos
@Nitinkandwal
@Nitinkandwal 8 жыл бұрын
What is hashCode?
@KhalidRiaz
@KhalidRiaz 8 жыл бұрын
Its a numerical number to identify an instance/object, you can acquire it by calling Object.GetHashCode() method (C#).
@kensplanet
@kensplanet 9 жыл бұрын
nice tutorial :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Kenneth John View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI View other videos on ADV JAVA kzbin.info/www/bejne/bmTNfaSKdsekh7c
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@sparkycloud1514
@sparkycloud1514 3 жыл бұрын
Naaaaat allowwweddd....mmmmm
@BISWAJITSAHUshe
@BISWAJITSAHUshe 7 жыл бұрын
Very nicely explained
LinkedHashSet (Collection Framework)
8:55
Durga Software Solutions
Рет қаралды 204 М.
TreeSet Details part 1 [Collection Framework]
17:08
Durga Software Solutions
Рет қаралды 248 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Three Cusors of Java ListIterator (Collection Framework )
19:47
Durga Software Solutions
Рет қаралды 197 М.
Java 8 || Default method() & Static method() inside Interface by Durga Sir
1:08:28
Durga Software Solutions
Рет қаралды 202 М.
Three Cursors of Java - Iterator  (Collection Framework)
17:51
Durga Software Solutions
Рет қаралды 258 М.
ArrayList details (Collection Framework)
32:52
Durga Software Solutions
Рет қаралды 577 М.
Vector class details (Collection Framework )
23:35
Durga Software Solutions
Рет қаралды 292 М.
Difference between Interface and Absract Class
16:57
DURGA EDUCATION
Рет қаралды 972 М.
TreeSet Details part 10
17:09
Durga Software Solutions
Рет қаралды 118 М.
Differences between String  and StringBuffer
7:57
DURGA EDUCATION
Рет қаралды 548 М.
Creation of Stack in DS | Data Structures Tutorial
32:22
Naresh i Technologies
Рет қаралды 414 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН