r/java •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

594 comments sorted by

View all comments

Show parent comment

1

u/singloon Jun 10 '24

You can do, do this now 😅

var userIds = Map.of();

8

u/Letho13 Jun 10 '24

Beware, that one is immutable 😉