Jak utworzyć wpis w Javie

Entry<String, String> entry = Map.entry("foo", "bar");
Motionless Moth