code: public void replace (String... replace)
      {
          HashSet<String> toAdd = Sets.newHashSet();
          Iterator<String> i = _imports.iterator();
          while (i.hasNext()) {
              String name = i.next();
              for (int j = 0; j < replace.length; j += 2) {
                  if (name.equals(replace[j])) {
                      toAdd.add(replace[j + 1]);
                      i.remove();
                      break;
                  }
              }
          }
          _imports.addAll(toAdd);
      }
docs: Replaces any import exactly each find string with the corresponding replace string.
  See the description above.
  @param replace array of pairs for search/replace