Lines Matching refs:deepCopy
111 Object[] deepCopy = (Object[]) deepCopy(a);
112 check(Arrays.deepEquals(a, deepCopy));
113 check(Arrays.deepEquals(deepCopy, a));
115 // Make deepCopy != a
117 deepCopy = new Object[] {"foo"};
118 else if (deepCopy[deepCopy.length - 1] == null)
119 deepCopy[deepCopy.length - 1] = "baz";
121 deepCopy[deepCopy.length - 1] = null;
122 check(! Arrays.deepEquals(a, deepCopy));
123 check(! Arrays.deepEquals(deepCopy, a));
159 Object deepCopy(Object oldObj) {