Code example for Properties

Methods: putAll

0
		} 
		return map;
	} 
 
	public static Properties getProperties(Map<String, String> map) {
		Properties properties= new Properties();
		properties.putAll(map);
		return properties;
	} 
 
	public static Properties getProperties(Set<String> set) {
		Properties properties= new Properties();
		for (String setEntry : set) {
			properties.put(setEntry, "");
		} 
		return properties;
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java