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()).
()
| 617 | * @since 14.0 (since 12.0 as {@code toImmutableSet()}). |
| 618 | */ |
| 619 | public final ImmutableSet<E> toSet() { |
| 620 | return ImmutableSet.copyOf(iterable); |
| 621 | } |
| 622 | |
| 623 | /** |
| 624 | * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code |
no test coverage detected