Sets the per-index stats of this map stats to the given per-index stats.

@param indexStats the per-index stats to set.
430311
public void setIndexStats(Map<String, LocalIndexStatsImpl> indexStats) {
        this.mutableIndexStats.clear();
        if (indexStats != null) {
            this.mutableIndexStats.putAll(indexStats);
        }
    }
890349
public void setStaticIps(java.util.Collection<StaticIp> staticIps) {
        if (staticIps == null) {
            this.staticIps = null;
            return;
        }

        this.staticIps = new java.util.ArrayList<StaticIp>(staticIps);
    }
839434
public void setIndicesRelevants(int[] indicesRelevants) {
        this.indicesRelevants = indicesRelevants;
        // -1 to skip the class attribute
        int numIrrelevantFeatures = this.numAttributes() - this.indicesRelevants.length - 1;
        this.indicesIrrelevants = new int[numIrrelevantFeatures];

        // Infers and sets the set of irrelevant features
        int index = 0;
        int indexRel = 0;
        for(int i = 0; i < numAttributes(); i++){
            if(i != classIndex()) {
                while (indexRel < indicesRelevants.length - 1 &&
                        i > indicesRelevants[indexRel]) indexRel++;
                if (indicesRelevants[indexRel] != i){
                    indicesIrrelevants[index] = i;
                    index++;
                }
            }
        }
    }
96093
public void setCounters(java.util.Collection<SummarizedCounter> counters) {
        if (counters == null) {
            this.counters = null;
            return;
        }

        this.counters = new java.util.ArrayList<SummarizedCounter>(counters);
    }
1165541
public void setCrawlers(java.util.Collection<Crawler> crawlers) {
        if (crawlers == null) {
            this.crawlers = null;
            return;
        }

        this.crawlers = new java.util.ArrayList<Crawler>(crawlers);
    }
1158582
public void setIpRanges(java.util.Collection<String> ipRanges) {
        if (ipRanges == null) {
            this.ipRanges = null;
            return;
        }

        this.ipRanges = new com.amazonaws.internal.SdkInternalList<String>(ipRanges);
    }
33797
public void setCertificateStatuses(java.util.Collection<String> certificateStatuses) {
        if (certificateStatuses == null) {
            this.certificateStatuses = null;
            return;
        }

        this.certificateStatuses = new java.util.ArrayList<String>(certificateStatuses);
    }
739621
func (c *Client) IndexStats(indices ...string) *IndicesStatsService {
	return NewIndicesStatsService(c).Index(indices...)
}
462652
public void setClusterNodes(java.util.Collection<ClusterNode> clusterNodes) {
        if (clusterNodes == null) {
            this.clusterNodes = null;
            return;
        }

        this.clusterNodes = new com.amazonaws.internal.SdkInternalList<ClusterNode>(clusterNodes);
    }
1364433
public void setArrayValues(java.util.Collection<Value> arrayValues) {
        if (arrayValues == null) {
            this.arrayValues = null;
            return;
        }

        this.arrayValues = new java.util.ArrayList<Value>(arrayValues);
    }
1079512
public void setActiveIndices(final int[] indices) {
		TabSetModel model = getOrCreateComponentModel();

		if (indices == null || indices.length == 0) {
			model.activeTabs = null;
			return;
		}

		if (model.activeTabs == null) {
			model.activeTabs = new ArrayList<>(1);
		}

		model.activeTabs.clear();

		for (int index : indices) {
			model.activeTabs.add(index);
		}
	}
116915
public void setIndexedAttributes(java.util.Collection<AttributeKeyAndValue> indexedAttributes) {
        if (indexedAttributes == null) {
            this.indexedAttributes = null;
            return;
        }

        this.indexedAttributes = new java.util.ArrayList<AttributeKeyAndValue>(indexedAttributes);
    }
875149
public void setCores(java.util.Collection<Core> cores) {
        if (cores == null) {
            this.cores = null;
            return;
        }

        this.cores = new java.util.ArrayList<Core>(cores);
    }
1333647
public void onUpdatedStats(ActiveMQQueueJmxStats updatedStats) {
        QueueStatisticsCollection queueStatisticsCollection;

        synchronized ( this.queueStats ) {
            queueStatisticsCollection = this.queueStats.get(updatedStats.getQueueName());

            if ( queueStatisticsCollection == null ) {
                queueStatisticsCollection = new QueueStatisticsCollection(updatedStats.getQueueName());
                this.queueStats.put(updatedStats.getQueueName(), queueStatisticsCollection);
            }
        }

        queueStatisticsCollection.onUpdatedStats(updatedStats);
    }
12215
public void setStats(com.google.api.ads.admanager.axis.v201805.Stats stats) {
        this.stats = stats;
    }
132817
public void setDBClusterSnapshots(java.util.Collection<DBClusterSnapshot> dBClusterSnapshots) {
        if (dBClusterSnapshots == null) {
            this.dBClusterSnapshots = null;
            return;
        }

        this.dBClusterSnapshots = new java.util.ArrayList<DBClusterSnapshot>(dBClusterSnapshots);
    }
890838
public void setStatistics(java.util.Collection<String> statistics) {
        if (statistics == null) {
            this.statistics = null;
            return;
        }

        this.statistics = new java.util.ArrayList<String>(statistics);
    }