class ProviderGroup {

    public ProviderGroup addAll(Collection<ProviderInfo> providerInfos) {
        if (CommonUtils.isEmpty(providerInfos)) {
            return this;
        }
        ConcurrentHashSet<ProviderInfo> tmp = new ConcurrentHashSet<ProviderInfo>(this.providerInfos);
        tmp.addAll(providerInfos); // 排重
        this.providerInfos = new ArrayList<ProviderInfo>(tmp);
        return this;
    }

    public  ProviderGroup();
    public  ProviderGroup(String name);
    public  ProviderGroup(String name, List<ProviderInfo> providerInfos);
    public  ProviderGroup(List<ProviderInfo> providerInfos);

}