-
Notifications
You must be signed in to change notification settings - Fork 0
HashMap
Larrox edited this page Aug 28, 2025
·
2 revisions
Note
Dont forget to Import the HashMapUtil!
import dev.larrox.HashMapUtilMap<String, Integer> empty = HashMapUtil.create();Map<String, String> map1 = HashMapUtil.of(
"Name", "Steve",
"World", "Overworld"
);Map<Integer, String> map2 = HashMapUtil.of(1, "One");Map<String, Integer> map3 = HashMapUtil.<String, Integer>builder()
.put("Apple", 5)
.put("Banana", 10)
.build();