Java Map

preview_player
Показать описание
The Java Map interface represents a collection that contains key + value pairs. This Java Map tutorial explains the the basics of using a Map in Java, as well as the most common Java Map methods.

Chapters
0:00 Java Map Introduction
1:46 Java Map Interface Implementations
2:55 Java Map Generic Types
5:10 Java Map Insert Key + Value Pair
6:30 Java Map Null Key and Null Value
7:20 Java Map Insert all Key + Value Pairs From One Map Into Another Map
8:16 Java Map Size
8:51 Java Map Check if Map is Empty
9:39 Java Map Check if Map Contains Key
10:24 Java Map Check if Map Contains Value
11:05 Java Map Remove Key + Value Pair
12:10 Java Map Remove All Entries
12:32 Java Map Replace Value for Key
13:19 Java Map Iterate Keys Using Iterator
14:46 Java Map Iterate Keys Using for-each Loop
15:43 Java Map Iterate Entries Using Java Streams API
16:55 Java Map Difference Between HashMap and TreeMap
19:00 Java Map More Resources

Textual version of this Java Map tutorial:

Java List tutorial video:

Java Set tutorial video:

Java Collections tutorial - textual version

Java Streams API video:

Java Lambda Expressions videos:
Рекомендации по теме
Комментарии
Автор

I was tired of going by Youtube's recommendation. I took another route to find Java courses - search all java videos listed in last month and that's how I found this video. I'm glad that I did this way.

_graymatter__
Автор

I am scheduled for technical interviews and found your videos. It helps me to refresh my knowledge. Thank you.

hydeesabile
Автор

Absolutely perfect! Thank you for the clear and detailed explanations. Keep up the good work! Also I would love to watch you explaining Java gui in detail...

utkuceylan
Автор

I have a course at uni about OOP right now going towards the exams and with your channel I struck gold! I understand many things way better after watching your respective video. Thank you very much!

TheHoppchen
Автор

I really like the way you explained. I'm glad that my first video to learn about Map interface thorough this video.

gopikrishna
Автор

Wow amazing explanation..good examples..Thank you Sir..

AhamedKabeer-wnjb
Автор

i have followed your blog for long, its absolutely awesome. Great to see your videos.

vardhansrivastava
Автор

Your video guides are very helpful, thank you for creating them!

SwordSK
Автор

This is the first video of yours I have stumbled upon, I like your teaching style and have subscribed!

danmurraypiano
Автор

Thanks, Jakob, very useful Map refresher. I enjoy your tutorials, especially the concurrency one. Great job!

CoVerseAU
Автор

I'm using your videos for my degree man! BigUp!

joneswafula
Автор

Great videos and examples, thank you!

nooralmanasrah
Автор

Awesome Video, I'll defiantly will check the rest. Thank for you! :)

Kisyov
Автор

thank you so much for your videos, great explaining

MsGeorge
Автор

On line #2 and #3, how does the interface Map.Entry know what implementation to use for getKey() and getValue()?
getKey() and getValue() are abstract methods inside the interface Map.Entry.

Map.Entry<Integer, String> en = Map.entry(12, "YYY");
System.out.println( en.getKey() );
System.out.println( en.getValue() );

HenryLeu