public synchronized Object setProperty(final String name, final String value) { return put(name, value); }
@Override public synchronized Object setProperty(final String name, final String value) { return put(name, value); }
public synchronized Object setProperty(String name, String value) { return put(name, value); }
public void putAll(Map<?, ?> t) { for (Map.Entry<?, ?> entry : t.entrySet()) { put(entry.getKey(), entry.getValue()); } if (t instanceof SuperProperties) { SuperProperties superProperties = (SuperProperties) t; for (Map.Entry<String, String> entry : superProperties.comments.entrySet()) { comments.put(normalize(entry.getKey()), entry.getValue()); } for (Map.Entry<String, LinkedHashMap<String, String>> entry : superProperties.attributes.entrySet()) { attributes.put(normalize(entry.getKey()), entry.getValue()); } } }
public void putAll(final Map<?, ?> t) { for (final Map.Entry<?, ?> entry : t.entrySet()) { put(entry.getKey(), entry.getValue()); } if (t instanceof SuperProperties) { final SuperProperties superProperties = (SuperProperties) t; for (final Map.Entry<String, String> entry : superProperties.comments.entrySet()) { comments.put(normalize(entry.getKey()), entry.getValue()); } for (final Map.Entry<String, LinkedHashMap<String, String>> entry : superProperties.attributes.entrySet()) { attributes.put(normalize(entry.getKey()), entry.getValue()); } } }
@Override public void putAll(final Map<?, ?> t) { for (final Map.Entry<?, ?> entry : t.entrySet()) { put(entry.getKey(), entry.getValue()); } if (t instanceof SuperProperties) { final SuperProperties superProperties = (SuperProperties) t; for (final Map.Entry<String, String> entry : superProperties.comments.entrySet()) { comments.put(normalize(entry.getKey()), entry.getValue()); } for (final Map.Entry<String, LinkedHashMap<String, String>> entry : superProperties.attributes.entrySet()) { attributes.put(normalize(entry.getKey()), entry.getValue()); } } }
final String key = entry.getAttribute("key"); final String value = entry.getTextContent(); put(key, value);
String key = entry.getAttribute("key"); String value = entry.getTextContent(); put(key, value);
final String key = entry.getAttribute("key"); final String value = entry.getTextContent(); put(key, value);