code: public void convertAllPrefixesToDomains() {
          SurtPrefixSet iterCopy = (SurtPrefixSet) this.clone();
          Iterator<String> iter = iterCopy.iterator();
          while (iter.hasNext()) {
              String prefix = (String) iter.next();
              String convPrefix = convertPrefixToDomain(prefix);
              if(prefix!=convPrefix) {
              	// if returned value not unchanged, update set
              	this.remove(prefix);
              	this.add(convPrefix);
              }
          } 
      }
docs: Changes all prefixes so that they only enforce a general
  domain (allowing subdomains).For prefixes that don't include
  a ')', no change is necessary. For others, truncate everything
  from the ')' onward. Additionally, truncate off "www," if it
  appears.