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

Method construct

output/java_guava/1.4.17/ImmutableList.java:310–312  ·  view source on GitHub ↗

Views the array as an immutable list. Checks for nulls; does not copy.

(Object... elements)

Source from the content-addressed store, hash-verified

308 */
309
310 private static <E> ImmutableList<E> construct(Object... elements) {
311 return asImmutableList(checkElementsNotNull(elements));
312 }
313
314 /**
315 * Views the array as an immutable list. Does not check for nulls; does not copy.

Callers 2

ofMethod · 0.95
copyOfMethod · 0.95

Calls 2

asImmutableListMethod · 0.95
checkElementsNotNullMethod · 0.45

Tested by

no test coverage detected