Returns an ImmutableMultiset containing all of the elements from this fluent iterable. Stream equivalent: ImmutableMultiset.copyOf(stream.iterator()). @since 19.0
()
| 696 | |
| 697 | |
| 698 | public final ImmutableMultiset<E> toMultiset() { |
| 699 | return ImmutableMultiset.copyOf(iterable); |
| 700 | } |
| 701 | |
| 702 | /** |
| 703 | * Returns an immutable map whose keys are the distinct elements of this {@code FluentIterable} |