Searched refs:mResponseCounts (Results 1 – 1 of 1) sorted by relevance
51 private final Map<String, Integer> mResponseCounts; field in ResponseCollective57 mResponseCounts = responseCounts == null ? new LinkedHashMap<>() : in ResponseCollective()69 String[] result = new String[mResponseCounts.keySet().size()]; in getUniqueResponseStrings()70 mResponseCounts.keySet().toArray(result); in getUniqueResponseStrings()89 return Collections.unmodifiableMap(mResponseCounts); in getResponseCountsMap()98 return mResponseCounts.values().stream().mapToInt(Integer::intValue).toArray(); in getUniqueResponseCounts()147 Map<String, Integer> responseCounts = new LinkedHashMap<>(other.mResponseCounts); in combineCollectives()148 for (String response : mResponseCounts.keySet()) { in combineCollectives()149 responseCounts.merge(response, mResponseCounts.get(response), Integer::sum); in combineCollectives()