When Map.of Is Not Enough. Use: Map.ofEntries #java #shorts

preview_player
Показать описание


#airhacks
Рекомендации по теме
Комментарии
Автор

Very nice to have specially when you have so many key-value pairs that you want to add that you start to lose track of what you put...

ShinMugenNoKabe
Автор

Why map.of cant take more than 10 elements?

foreveroyuncu
Автор

is there any reason why of factory method is not taking varargs

jack