#347 Create tests and add check for missing settings in NewSetting

This commit is contained in:
ljacqu
2016-01-08 21:22:26 +01:00
parent 30db03837a
commit 69c225c850
8 changed files with 309 additions and 59 deletions
@@ -14,7 +14,7 @@ import java.util.TreeMap;
*/
public class PropertyMap {
private Map<Property, String[]> propertyMap;
private Map<Property<?>, String[]> propertyMap;
private PropertyMapComparator comparator;
/**
@@ -41,8 +41,17 @@ public class PropertyMap {
*
* @return The entry set
*/
public Set<Map.Entry<Property, String[]>> entrySet() {
public Set<Map.Entry<Property<?>, String[]>> entrySet() {
return propertyMap.entrySet();
}
/**
* Return the key set of the map, i.e. all property objects it holds.
*
* @return The key set
*/
public Set<Property<?>> keySet() {
return propertyMap.keySet();
}
}