Entri Konstruktor Java

Map.entry("foo", "bar") // java >= 9
new AbstractMap.SimpleEntry<String, Integer>("exmpleString", 42) // java <= 8
pukpukpuk