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

Method toMultiset

output/java_guava/1.4.19/FluentIterable.java:698–700  ·  view source on GitHub ↗

Returns an ImmutableMultiset containing all of the elements from this fluent iterable. Stream equivalent: ImmutableMultiset.copyOf(stream.iterator()). @since 19.0

()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected