Home
last modified time | relevance | path

Searched refs:deepCopy (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/Arrays/
DArrayObjectMethods.java114 Object[] deepCopy = (Object[]) deepCopy(a); in test() local
115 check(Arrays.deepEquals(a, deepCopy)); in test()
116 check(Arrays.deepEquals(deepCopy, a)); in test()
120 deepCopy = new Object[] {"foo"}; in test()
121 else if (deepCopy[deepCopy.length - 1] == null) in test()
122 deepCopy[deepCopy.length - 1] = "baz"; in test()
124 deepCopy[deepCopy.length - 1] = null; in test()
125 check(! Arrays.deepEquals(a, deepCopy)); in test()
126 check(! Arrays.deepEquals(deepCopy, a)); in test()
162 Object deepCopy(Object oldObj) { in deepCopy() method in ArrayObjectMethods
/libcore/ojluni/src/main/java/java/util/
DWeakHashMap.java995 private List<Map.Entry<K,V>> deepCopy() { in deepCopy() method in WeakHashMap.EntrySet
1003 return deepCopy().toArray(); in toArray()
1007 return deepCopy().toArray(a); in toArray()
/libcore/ojluni/src/test/java/util/EnumMap/
DEnumMapBash.java142 m2 = deepCopy(m); in bash()
200 static <T> T deepCopy(T oldObj) { in deepCopy() method in EnumMapBash
/libcore/ojluni/src/test/java/util/EnumSet/
DEnumSetBash.java156 clone = (EnumSet<E>) deepCopy(s); in clone()
166 static <T> T deepCopy(T oldObj) { in deepCopy() method in EnumSetBash