code: public synchronized Group getGroup(String groupName) {
      Group result = counters.get(groupName);
      if (result == null) {
        result = new Group(groupName);
        counters.put(groupName, result);
      }
      return result;
    }
docs: Returns the named counter group, or an empty group if there is none
  with the specified name.