HashMap<String, String> m = 〜;

Stream.of("k1", "k2", "k3")
.map(k -> m.get(k))