Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For those of us still using Java 8, ImmutableMap.of() (from Guava) is similar (and probably the inspiration for Map.of()), as long as you don't need your Map to be modified later.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: