/guava/android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getElement( ) ;
cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount ( ) ;
} ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<E>(entries.size()); long[] cumulativeCounts = new long[entries.size() + 1]; int i = 0; for (Entry<E> entry : entries) { elementsBuilder.add(entry.getElement()); <extra_id_0> i++; } return new RegularImmutableSortedMultiset<E>( new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator), cumulativeCounts, 0,