/guava/android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
counts[size] = counts[i];sortedCounts[index] = ~counts[i];
sortedCounts[index] = ~counts[i];
int[] sortedCounts = new int[sortedElements.length]; for (int i = 0; i < length; i++) { int index = Arrays.binarySearch(sortedElements, 0, uniques, elements[i], comparator); if (counts[i] >= 0) { sortedCounts[index] += counts[i]; } else { <extra_id_0> } } this.elements = sortedElements; this.counts = sortedCounts; this.length = uniques; }