@Test public void testPutAll() { Map m = Maps.newLinkedHashMap(); m.put("b", "v"); m.put("B", "v2"); properties.putAll(m); assertEquals(4, properties.size()); assertEquals(properties.get("b"), properties.get("B")); }
@Override public void putAll(Map<? extends String, ?> m) { super.putAll(m); for (String key: m.keySet()) { keyMapping.put(convert(key), key); } }
LdapIdentityProperties extends HashMap<String, Object> { @Override public void putAll(Map<? extends String, ?> m) { super.putAll(m); for (String key: m.keySet()) { keyMapping.put(convert(key), key); } } }
LdapIdentityProperties extends HashMap<String, Object> { @Override public void putAll(Map<? extends String, ?> m) { super.putAll(m); for (String key: m.keySet()) { keyMapping.put(convert(key), key); } } LdapIdentityProperties(int initialCapacity, float loadFactor);  LdapIdentityProperties(int initialCapacity);  LdapIdentityProperties();  LdapIdentityProperties(Map<? extends String, ?> m); }
LdapIdentityProperties extends HashMap<String, Object> { @Override public void putAll(Map<? extends String, ?> m) { super.putAll(m); for (String key: m.keySet()) { keyMapping.put(convert(key), key); } } LdapIdentityProperties(int initialCapacity, float loadFactor);  LdapIdentityProperties(int initialCapacity);  LdapIdentityProperties();  LdapIdentityProperties(Map<? extends String, ?> m); @Override Object put(String key, Object value); @Override Object remove(Object key); @Override Object get(Object key); @Override boolean containsKey(Object key); @Override void putAll(Map<? extends String, ?> m); @Override void clear(); }
LdapIdentityProperties extends HashMap<String, Object> { @Override public void putAll(Map<? extends String, ?> m) { super.putAll(m); for (String key: m.keySet()) { keyMapping.put(convert(key), key); } } LdapIdentityProperties(int initialCapacity, float loadFactor);  LdapIdentityProperties(int initialCapacity);  LdapIdentityProperties();  LdapIdentityProperties(Map<? extends String, ?> m); @Override Object put(String key, Object value); @Override Object remove(Object key); @Override Object get(Object key); @Override boolean containsKey(Object key); @Override void putAll(Map<? extends String, ?> m); @Override void clear();  }