MCPcopy Create free account
hub / github.com/antlr/codebuff / toSortedSet

Method toSortedSet

output/java_guava/1.4.18/FluentIterable.java:685–687  ·  view source on GitHub ↗

Returns an ImmutableSortedSet containing all of the elements from this FluentIterable in the order specified by comparator, with duplicates (determined by comparator.compare(x, y) == 0) removed. To produce an ImmutableSortedSet sorted by its natural ordering,

(Comparator<? super E> comparator)

Source from the content-addressed store, hash-verified

683
684
685 public final ImmutableSortedSet<E> toSortedSet(Comparator<? super E> comparator) {
686 return ImmutableSortedSet.copyOf(comparator, iterable);
687 }
688
689 /**
690 * Returns an {@code ImmutableMultiset} containing all of the elements from this fluent iterable.

Callers

nothing calls this directly

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected