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

12345

/libcore/ojluni/src/main/java/java/util/
H A DDate.java280 public Object clone() { method in class:Date
283 d = (Date)super.clone();
285 d.cdate = (BaseCalendar.Date) cdate.clone();
982 BaseCalendar.Date d = (BaseCalendar.Date) date.cdate.clone();
H A DArrayList.java361 * @return a clone of this <tt>ArrayList</tt> instance
363 public Object clone() { method in class:ArrayList
365 ArrayList<?> v = (ArrayList<?>) super.clone();
757 // Write out size as capacity for behavioural compatibility with clone()
785 // be like clone(), allocate array based upon size not capacity
H A DHashtable.java544 * @return a clone of the hashtable
546 public synchronized Object clone() { method in class:Hashtable
548 Hashtable<?,?> t = (Hashtable<?,?>)super.clone();
552 ? (HashtableEntry<?,?>) table[i].clone() : null;
1279 protected Object clone() { method in class:Hashtable.HashtableEntry
1281 (next==null ? null : (HashtableEntry<K,V>) next.clone()));
H A DIdentityHashMap.java701 public Object clone() { method in class:IdentityHashMap
703 IdentityHashMap<?,?> m = (IdentityHashMap<?,?>) super.clone();
705 m.table = table.clone();
797 // then clone the rest of table for use in future
H A DJapaneseImperialCalendar.java398 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone();
406 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone();
1284 = (LocalGregorianCalendar.Date) date.clone();
1391 jc = (JapaneseImperialCalendar) jc.clone();
1440 BaseCalendar.Date d = (BaseCalendar.Date) date.clone();
1499 public Object clone() { method in class:JapaneseImperialCalendar
1500 JapaneseImperialCalendar other = (JapaneseImperialCalendar) super.clone();
1502 other.jdate = (LocalGregorianCalendar.Date) jdate.clone();
1761 LocalGregorianCalendar.Date d = (LocalGregorianCalendar.Date) jdate.clone();
2264 // Create a clone an
[all...]
H A DLinkedList.java1008 return (LinkedList<E>) super.clone();
1020 public Object clone() { method in class:LinkedList
1021 LinkedList<E> clone = superClone();
1023 // Put clone into "virgin" state
1024 clone.first = clone.last = null;
1025 clone.size = 0;
1026 clone.modCount = 0;
1028 // Initialize clone with our elements
1030 clone
[all...]
H A DSimpleTimeZone.java866 * Returns a clone of this <code>SimpleTimeZone</code> instance.
867 * @return a clone of this instance.
869 public Object clone() method in class:SimpleTimeZone
871 return super.clone();
H A DVector.java665 * Returns a clone of this vector. The copy will contain a
666 * reference to a clone of the internal data array, not a reference
669 * @return a clone of this vector
671 public synchronized Object clone() { method in class:Vector
674 Vector<E> v = (Vector<E>) super.clone();
1074 data = elementData.clone();
H A DGregorianCalendar.java1585 GregorianCalendar gc = (GregorianCalendar) clone();
1657 GregorianCalendar gc = (GregorianCalendar) clone();
1768 BaseCalendar.Date d = (BaseCalendar.Date) date.clone();
1846 gc = (GregorianCalendar) gc.clone();
1886 gc = (GregorianCalendar) gc.clone();
1903 BaseCalendar.Date d = (BaseCalendar.Date) date.clone();
1911 gc = (GregorianCalendar) clone();
1948 gc = (GregorianCalendar) clone();
2010 public Object clone() method in class:GregorianCalendar
2012 GregorianCalendar other = (GregorianCalendar) super.clone();
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java296 * @return a clone of this list
298 public Object clone() { method in class:CopyOnWriteArrayList
301 CopyOnWriteArrayList<E> clone =
302 (CopyOnWriteArrayList<E>) super.clone();
303 clone.resetLock();
304 return clone;
/libcore/ojluni/src/main/java/sun/util/calendar/
H A DCalendarDate.java433 public Object clone() { method in class:CalendarDate
435 return super.clone();
H A DImmutableGregorianDate.java215 public Object clone() { method in class:ImmutableGregorianDate
216 return super.clone();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerTest.java850 myBigInteger = (MyBigInteger) myBigInteger.clone();
857 public Object clone() { method in class:BigIntegerTest.MyBigInteger
859 return super.clone();
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java877 public Object clone() { method in class:ProviderTest.MyCertStoreParameters
/libcore/ojluni/src/main/java/java/net/
H A DHttpCookie.java785 * @return a clone of this HTTP cookie
788 public Object clone() { method in class:HttpCookie
790 return super.clone();
/libcore/ojluni/src/main/java/java/text/
H A DAttributedString.java776 relevantAttributes = attributes.clone();
803 public Object clone() { method in class:AttributedString.AttributedStringIterator
805 AttributedStringIterator other = (AttributedStringIterator) super.clone();
H A DDateFormat.java771 public Object clone() method in class:DateFormat
773 DateFormat other = (DateFormat) super.clone();
774 other.calendar = (Calendar) calendar.clone();
775 other.numberFormat = (NumberFormat) numberFormat.clone();
H A DDateFormatSymbols.java408 return (DateFormatSymbols) getCachedInstance(locale).clone();
414 * not its clone. Therefore, the instance should never be given to
721 public Object clone() method in class:DateFormatSymbols
725 DateFormatSymbols other = (DateFormatSymbols)super.clone();
H A DDecimalFormat.java481 this.symbols = (DecimalFormatSymbols)symbols.clone();
922 symbols = (DecimalFormatSymbols) newSymbols.clone();
1188 public Object clone() { method in class:DecimalFormat
1191 DecimalFormat other = (DecimalFormat) super.clone();
1192 other.icuDecimalFormat = (android.icu.text.DecimalFormat_ICU58_Android) icuDecimalFormat.clone();
1193 other.symbols = (DecimalFormatSymbols) symbols.clone();
H A DSimpleDateFormat.java677 this.formatData = (DateFormatSymbols) formatSymbols.clone();
698 numberFormat = (NumberFormat) numberFormat.clone();
958 return (Date) defaultCenturyStart.clone();
2620 return (DateFormatSymbols)formatData.clone();
2632 this.formatData = (DateFormatSymbols)newFormatSymbols.clone();
2640 * @return a clone of this <code>SimpleDateFormat</code>
2643 public Object clone() { method in class:SimpleDateFormat
2644 SimpleDateFormat other = (SimpleDateFormat) super.clone();
2645 other.formatData = (DateFormatSymbols) formatData.clone();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DRevocationChecker.java1100 public RevocationChecker clone() { method in class:RevocationChecker
1101 RevocationChecker copy = (RevocationChecker)super.clone();
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfo.java670 public Object clone() { method in class:ZoneInfo
671 // Overridden for documentation. The default clone() behavior is exactly what we want.
675 return super.clone();
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java428 protected Object clone() throws CloneNotSupportedException { method in class:Thread
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DTransformers.java67 public Object clone() throws CloneNotSupportedException { method in class:Transformers.Transformer
68 return super.clone();
/libcore/ojluni/src/main/java/java/security/cert/
H A DX509CertSelector.java384 this.subjectKeyID = subjectKeyID.clone();
445 this.authorityKeyID = authorityKeyID.clone();
465 certificateValid = (Date)certValid.clone();
486 this.privateKeyValid = (Date)privateKeyValid.clone();
569 subjectPublicKeyBytes = key.clone();
593 this.keyUsage = keyUsage.clone();
799 // clone because byte arrays are modifiable
800 addSubjectAlternativeNameInternal(type, name.clone());
1044 ncBytes = bytes.clone();
1251 // clone becaus
2603 public Object clone() { method in class:X509CertSelector
[all...]

Completed in 359 milliseconds

12345