MCPcopy Create free account
hub / github.com/apache/thrift / deepCopyList

Method deepCopyList

lib/java/src/main/java/org/apache/thrift/TUnion.java:100–106  ·  view source on GitHub ↗
(List list)

Source from the content-addressed store, hash-verified

98 }
99
100 private static List deepCopyList(List list) {
101 List copy = new ArrayList(list.size());
102 for (Object o : list) {
103 copy.add(deepCopyObject(o));
104 }
105 return copy;
106 }
107
108 public F getSetField() {
109 return setField_;

Callers 1

deepCopyObjectMethod · 0.95

Calls 3

deepCopyObjectMethod · 0.95
sizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected