protected void addSuperstructureApplication(String theChild, String theStructure) { StringUtil.validateNotEmpty(theChild); StringUtil.validateNotEmpty(theStructure); if (!myChildNameToStructures.containsKey(theChild)) { myChildNameToStructures.put(theChild, new HashSet<String>()); } myChildNameToStructures.get(theChild).add(theStructure); }
protected void addSuperstructureApplication(String theChild, String theStructure) { StringUtil.validateNotEmpty(theChild); StringUtil.validateNotEmpty(theStructure); if (!myChildNameToStructures.containsKey(theChild)) { myChildNameToStructures.put(theChild, new HashSet<String>()); } myChildNameToStructures.get(theChild).add(theStructure); }