android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E element) {
    RegularImmutableSortedSet<E> elementSet =
        (RegularImmutableSortedSet<E>) ImmutableSortedSet.of(element);
    long[] cumulativeCounts = {0, 1};
    return new RegularImmutableSortedMultiset<E>(elementSet, cumulativeCounts, 0, 1);
  }
public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E element) {
    RegularImmutableSortedSet<E> elementSet =
        (RegularImmutableSortedSet<E>) ImmutableSortedSet.of(element);
    long[] cumulativeCounts = {0, 1};
    return new RegularImmutableSortedMultiset<E>(elementSet, cumulativeCounts, 0, 1);
  }
public static < E extends Comparable < ? super E > > ImmutableSortedMultiset < E > of ( E element ) { RegularImmutableSortedSet < E > elementSet = ( RegularImmutableSortedSet < E > ) ImmutableSortedSet . of ( element ) ; long [ ] cumulativeCounts = { 0 , 1 } ; return new RegularImmutableSortedMultiset < E > ( elementSet , cumulativeCounts , 0 , 1 ) ; }
Returns an immutable sorted multiset containing a single element.
Returns an immutable sorted multiset containing a single element .