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

Method defensiveCopy

output/java_guava/1.4.18/Predicates.java:751–753  ·  view source on GitHub ↗
(T... array)

Source from the content-addressed store, hash-verified

749 }
750
751 private static <T> List<T> defensiveCopy(T... array) {
752 return defensiveCopy(Arrays.asList(array));
753 }
754
755
756 static <T> List<T> defensiveCopy(Iterable<T> iterable) {

Callers 2

andMethod · 0.95
orMethod · 0.95

Calls 3

addMethod · 0.65
asListMethod · 0.45
checkNotNullMethod · 0.45

Tested by

no test coverage detected