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

Method asImmutableList

output/java_guava/1.4.17/ImmutableList.java:320–322  ·  view source on GitHub ↗

Views the array as an immutable list. Does not check for nulls; does not copy. The array must be internally created.

(Object[] elements)

Source from the content-addressed store, hash-verified

318 */
319
320 static <E> ImmutableList<E> asImmutableList(Object[] elements) {
321 return asImmutableList(elements, elements.length);
322 }
323
324 /**
325 * Views the array as an immutable list. Copies if the specified range does not cover the complete

Callers 6

immutableSortedCopyMethod · 0.95
constructMethod · 0.95
copyOfMethod · 0.95
constructMethod · 0.95
buildMethod · 0.45

Calls 2

ofMethod · 0.95
arraysCopyOfMethod · 0.45

Tested by

no test coverage detected