MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / main

Method main

equalshashcode/SlowMap.java:35–42  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

33 return set;
34 }
35 public static void main(String[] args) {
36 SlowMap<String,String> m= new SlowMap<>();
37 m.putAll(Countries.capitals(8));
38 m.forEach((k, v) ->
39 System.out.println(k + "=" + v));
40 System.out.println(m.get("BENIN"));
41 m.entrySet().forEach(System.out::println);
42 }
43}
44/* Output:
45CAMEROON=Yaounde

Callers

nothing calls this directly

Calls 3

capitalsMethod · 0.95
getMethod · 0.95
entrySetMethod · 0.95

Tested by

no test coverage detected