Searched defs:clone (Results 101 - 107 of 107) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/util/
H A DHashMap.java1327 public Object clone() { method in class:HashMap
1330 result = (HashMap<K,V>)super.clone();
1765 * Reset to initial default state. Called by clone and readObject.
H A DResourceBundle.java651 public Object clone() { method in class:ResourceBundle.CacheKey
653 CacheKey clone = (CacheKey) super.clone();
655 clone.loaderRef = new LoaderReference(loaderRef.get(),
656 referenceQueue, clone);
659 clone.cause = null;
660 return clone;
1456 CacheKey constKey = (CacheKey) cacheKey.clone();
1687 CacheKey key = (CacheKey) cacheKey.clone();
H A DCalendar.java2881 // create a clone.
2883 zone = (TimeZone) zone.clone();
3194 // clone the calendar so we don't mess with the real one, and set it to
3196 Calendar work = (Calendar)this.clone();
3248 // clone the calendar so we don't mess with the real one, and set it to
3250 Calendar work = (Calendar)this.clone();
3283 public Object clone() method in class:Calendar
3286 Calendar other = (Calendar) super.clone();
3296 other.zone = (TimeZone) zone.clone();
3412 Calendar cal = (Calendar) calendar.clone();
[all...]
H A DLocale.java2142 public Object clone() method in class:Locale
2145 Locale that = (Locale)super.clone();
H A DTreeMap.java629 public Object clone() { method in class:TreeMap
630 TreeMap<?,?> clone;
632 clone = (TreeMap<?,?>) super.clone();
637 // Put clone into "virgin" state (except for comparator)
638 clone.root = null;
639 clone.size = 0;
640 clone.modCount = 0;
641 clone.entrySet = null;
642 clone
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java387 * Initializes or resets state. Needed by constructors, clone,
388 * clear, readObject. and ConcurrentSkipListSet.clone.
1334 public ConcurrentSkipListMap<K,V> clone() { method in class:ConcurrentSkipListMap
1337 ConcurrentSkipListMap<K,V> clone =
1338 (ConcurrentSkipListMap<K,V>) super.clone();
1339 clone.initialize();
1340 clone.buildFromSorted(this);
1341 return clone;
1349 * given sorted map. Call only from constructor or clone
/libcore/benchmarks/src/benchmarks/
H A DCloneBenchmark.java21 public Object clone() throws CloneNotSupportedException { method in class:CloneBenchmark.CloneableObject
22 return super.clone();
27 public Object clone() throws CloneNotSupportedException { method in class:CloneBenchmark.CloneableManyFieldObject
28 return super.clone();
1007 public Object clone() throws CloneNotSupportedException { method in class:CloneBenchmark.DeepCloneable
1008 return super.clone();
1016 o.clone();
1027 o.clone();
1038 o.clone();
1048 o.clone();
[all...]

Completed in 164 milliseconds

12345