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

Method copyOf

output/java_guava/1.4.19/ImmutableMultiset.java:148–150  ·  view source on GitHub ↗

Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation. @throws NullPointerException if any of elements is null @since 6.0

(E[] elements)

Source from the content-addressed store, hash-verified

146
147
148 public static <E> ImmutableMultiset<E> copyOf(E[] elements) {
149 return copyFromElements(elements);
150 }
151
152 /**
153 * Returns an immutable multiset containing the given elements, in the "grouped iteration order"

Callers 4

readResolveMethod · 0.95
toMultisetMethod · 0.95
applyMethod · 0.95
buildMethod · 0.45

Calls 7

copyFromElementsMethod · 0.95
castMethod · 0.95
createMethod · 0.95
copyFromEntriesMethod · 0.95
addAllMethod · 0.95
entrySetMethod · 0.65
isPartialViewMethod · 0.45

Tested by

no test coverage detected