@Test public void testTwoKeyValues() { map = Maps.of("foo", "bar", "baz", "qux"); assertEquals(2, map.size()); keys = map.keySet().iterator(); assertEquals("foo", keys.next()); assertEquals("baz", keys.next()); values = map.values().iterator(); assertEquals("bar", values.next()); assertEquals("qux", values.next()); }
public static Map<String, String> of(String k1, String v1) { Map<String, String> map = new LinkedHashMap<>(2); map.put(k1, v1); return map; }
Maps { public static Map<String, String> of(String k1, String v1) { Map<String, String> map = new LinkedHashMap<>(2); map.put(k1, v1); return map; } }
Maps { public static Map<String, String> of(String k1, String v1) { Map<String, String> map = new LinkedHashMap<>(2); map.put(k1, v1); return map; }  }
Maps { public static Map<String, String> of(String k1, String v1) { Map<String, String> map = new LinkedHashMap<>(2); map.put(k1, v1); return map; }  static Map<String, String> of(String k1, String v1); static Map<String, String> of(String k1, String v1, String k2, String v2); static Map<String, String> of(String... kvp); }
Maps { public static Map<String, String> of(String k1, String v1) { Map<String, String> map = new LinkedHashMap<>(2); map.put(k1, v1); return map; }  static Map<String, String> of(String k1, String v1); static Map<String, String> of(String k1, String v1, String k2, String v2); static Map<String, String> of(String... kvp);  }