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

Method toSet

output/java_guava/1.4.18/FluentIterable.java:666–668  ·  view source on GitHub ↗

Returns an ImmutableSet containing all of the elements from this fluent iterable with duplicates removed. Stream equivalent: ImmutableSet.copyOf(stream.iterator()). @since 14.0 (since 12.0 as toImmutableSet()).

()

Source from the content-addressed store, hash-verified

664
665
666 public final ImmutableSet<E> toSet() {
667 return ImmutableSet.copyOf(iterable);
668 }
669
670 /**
671 * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code

Callers 6

delegateMethod · 0.45
delegateMethod · 0.45
rawTypesMethod · 0.45
delegateMethod · 0.45
getAllClassesMethod · 0.45
getTopLevelClassesMethod · 0.45

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected