Searched refs:mEntryCounts (Results 1 – 1 of 1) sorted by relevance
53 private final Map<EntryEnum, Integer> mEntryCounts; field in ResponseCollective59 mEntryCounts = entryCounts == null ? new LinkedHashMap<>() : in ResponseCollective()80 return Collections.unmodifiableMap(mEntryCounts); in getEntryCountsMap()106 return mEntryCounts.keySet().stream().mapToInt(Enum::ordinal).toArray(); in getUniqueEntries()115 return mEntryCounts.values().stream().mapToInt(Integer::intValue).toArray(); in getUniqueEntryCounts()125 return mEntryCounts.getOrDefault(e, MetricUtilities.ZERO); in getCountForEntry()133 return mEntryCounts.values().stream().mapToInt(Integer::intValue).sum(); in getNumEntriesTotal()152 Map<EntryEnum, Integer> entryCounts = new LinkedHashMap<>(other.mEntryCounts); in combineCollectives()153 for (EntryEnum entry : mEntryCounts.keySet()) { in combineCollectives()154 entryCounts.merge(entry, mEntryCounts.get(entry), Integer::sum); in combineCollectives()