Тёмный

Lecture 68 Queue and Map in Java Hindi 

Java by Saurabh Shukla Sir
Подписаться 208 тыс.
Просмотров 53 тыс.
50% 1

Like, Comments, Share and SUBSCRIBE
All videos are free. Visit www.mysirg.com

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@shivam13juna
@shivam13juna 6 лет назад
Queue * Child interface of collection * Null values aren't allowed * Duplicates values are allowed * Heterogeneous elements are allowed * Implements FIFO order Methods of Queue * boolean offer(E e) These three throws special value null or false * E poll() * peek() boolean add(E e) These throw exception E remove() E element() PriorityQueue Implements Queue *Ordered acording to natural ordering or by comparator * null isn't allowed * Not Thread safe, but priority queue is PriorityQueue() PriorityQueue(Collection C) PriorityQueue(int initialCapacity) PriorityQueue(int initialCapacity,Comparator c) PriorityQueue(SortedSet s) PriorityQueue(PriorityQueue p) Map *map isn't child interface of Collections *we use map for key-value pair *key and value both must be objects; *Value can be repeated not keys //DUH *All map implementation should provide two standard constructors: *A void(no arguments) constructor which creates an empty map and *A constructor with a single argument of type Map, wihch creates a new map with the same key-value mappings as it's argument. * map entry is key-value pair methods of Entry *public object getValue(); *public object getKey(); Other methods *public Object put(Object key,Object value) *public void putAll(Map map) *public Object remove( Object key) *public Object get(Object key) *public boolean containsKey(Object key) *public Set keySet(); *public Set entrySet(); HashMap *contains values based on key *hashtable data structures is used *contains only unique elements * may have one null key and multiple null values *Next attempt to enter null as key, it simply discard without any error
@beaureed564
@beaureed564 3 года назад
I guess it is pretty off topic but does anybody know a good place to watch newly released movies online?
@sanjayssoni5015
@sanjayssoni5015 6 лет назад
How to start programming any site or Case Study which we can refer to become proficient in programming.. Moreover need to know how to increase thought process
@unnatimalviya1339
@unnatimalviya1339 7 лет назад
sir plz upload vedio of Deligation model in java
@zenshyam
@zenshyam 5 лет назад
Sir when will you upload the programs using Map Interface......The theory part is easily understandable........Thanks a lot for such a nice explanation of each and every part of JAVA
@_hulk748
@_hulk748 Год назад
Understood Sir❤🙇‍♂✨🙏
@arpitmore629
@arpitmore629 7 лет назад
excellent sir very usefull
@AdityaSingh-fg3wz
@AdityaSingh-fg3wz 7 лет назад
sir queue map ko.thoda aur broad main with coding explain ker dijiye plz
@subasishnayakofficial
@subasishnayakofficial 5 лет назад
The example which has been taken of bus and driver is having many to many relationship.one bus can be driven by different drivers.
@testeymoney8258
@testeymoney8258 4 года назад
Learn Python From The greatest explainer here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-AQ1eVnsPrYM.html and learn C also ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--uttTrBolgA.html
@ArvindHanda123
@ArvindHanda123 7 лет назад
Excellent
@venkatraman1159
@venkatraman1159 7 лет назад
Sir plz send me link for SQLite of your tutorial
@v2factsand327
@v2factsand327 2 года назад
Awesome
@tapanjeetroy8266
@tapanjeetroy8266 6 лет назад
thanks a lot sir...
@siddhijoshi8759
@siddhijoshi8759 4 года назад
Sir you are a nice teacher , but most of the topics are left out... i am confused.. :(
@GudduKumar-ek9qw
@GudduKumar-ek9qw 7 лет назад
if queue is Heterogeneous then after run (pq.add("A") &pq.add(56)) show ClassCastException
@kaus05
@kaus05 3 года назад
I know that i am late but its because of compareTo
@upmabaranwal5672
@upmabaranwal5672 7 лет назад
Sir plz upload video of programm using Map
@sajidchanna9128
@sajidchanna9128 6 лет назад
great
@dineshudaypure
@dineshudaypure 7 лет назад
How HashMap internally work? If this topic is not there in your collection video means your total discussion is wast. It my request to u shukla ji, please explain because that scenario very Imp to us.
@rishabhjain6612
@rishabhjain6612 4 года назад
20:03
@siddhijoshi8759
@siddhijoshi8759 4 года назад
Sir you are a nice teacher , but most of the topics are left out... i am confused.. :(
Далее
Lecture 66 SortedSet and NavigableSet in Java Hindi
40:09
Set and HashSet in Java - Full Tutorial
20:43
Просмотров 223 тыс.
Lecture 70 Introduction of Swing in Java Hindi
27:11
Просмотров 113 тыс.
Lecture 59 Generic Methods in Java Hindi
28:07
Просмотров 123 тыс.
Lecture 63 LinkedList, Vector and Stack in Java hindi
32:50
Java Collections Explained (with examples)
10:39
Просмотров 87 тыс.
Lecture 65 HashSet and LinkedHashSet in Java Hindi
23:47