Searched defs:clone (Results 1 - 25 of 380) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/
H A DDuplicateClass.java39 protected void clone() { method in class:DuplicateClass
40 super.clone();
H A DObjectIncompatibleInterface.java27 * @summary compiler incorrectly rejects interface int clone();
37 int clone(); method in interface:ObjectIncompatibleInterface
H A DCloneableProblem.java36 public Object clone() throws CloneNotSupportedException; method in interface:A
52 public Object clone() method in class:CloneableProblem
57 theCloneableProblem = (CloneableProblem) super.clone();
69 A a1 = (A) a0.clone();
71 B b1 = (B) b0.clone();
73 C c1 = (C) c0.clone();
75 D d1 = (D) d0.clone();
/openjdk7/langtools/test/tools/javac/annotations/neg/
H A DNoClone.java27 * @summary no compile-time error for clone, etc. in annotation type
33 Object clone(); method in interface:NoClone
H A DNoObjectMethods.java27 * @summary no compile-time error for clone, etc. in annotation type
33 int clone(); method in interface:NoObjectMethods
/openjdk7/langtools/test/tools/javac/generics/genericAbstract/
H A DA.java34 <D> D clone(D obj); method in interface:A
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertPathParameters.java48 Object clone(); method in interface:CertPathParameters
H A DCertPathValidatorResult.java49 Object clone(); method in interface:CertPathValidatorResult
H A DCertStoreParameters.java62 * implementation of <code>clone</code> is safer and more robust, as it
65 * However, a shallow copy implementation of <code>clone</code> is more
68 * a shallow copy clone allows an application to release the resources of
79 Object clone(); method in interface:CertStoreParameters
H A DCRLSelector.java65 Object clone(); method in interface:CRLSelector
H A DCertPathBuilderResult.java67 Object clone(); method in interface:CertPathBuilderResult
H A DCertSelector.java66 Object clone(); method in interface:CertSelector
H A DCollectionCertStoreParameters.java120 public Object clone() { method in class:CollectionCertStoreParameters
122 return super.clone();
/openjdk7/jdk/src/share/classes/java/awt/
H A DImageCapabilities.java72 public Object clone() { method in class:ImageCapabilities
74 return super.clone();
/openjdk7/langtools/test/tools/javac/generics/rawOverride/
H A DT7148556.java27 * @summary Implementing a generic interface causes a public clone() to become inaccessible
34 public Object clone(); method in interface:T7148556.A
40 b.clone();
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_DATE.java99 * Create a (deep) clone of this object.
101 * @return A clone of this object.
103 public Object clone() { method in class:CK_DATE
106 copy = (CK_DATE) super.clone();
112 copy.year = this.year.clone();
113 copy.month = this.month.clone();
114 copy.day = this.day.clone();
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DState.java56 public Object clone(); method in interface:State
/openjdk7/jdk/test/java/util/AbstractMap/
H A DAbstractMapClone.java27 * @summary AbstractMap's clone() method is implemented to
28 * reset AbstractMap's private fields after super.clone()
47 public Object clone() { method in class:AbstractMapClone
48 AbstractMapClone clone = null;
50 clone = (AbstractMapClone)super.clone();
53 clone.map = (Map)((HashMap)map).clone();
54 return clone;
61 AbstractMapClone m2 = (AbstractMapClone)m1.clone();
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DCheckedListBash.java47 List intersection = clone(s1); intersection.retainAll(s2);
48 List diff1 = clone(s1); diff1.removeAll(s2);
49 List diff2 = clone(s2); diff2.removeAll(s1);
50 List union = clone(s1); union.addAll(s2);
109 List even = clone(s);
119 List odd = clone(s);
126 List all = clone(odd);
132 all = clone(odd);
186 static List clone(List s) { method in class:CheckedListBash
191 List clone
[all...]
H A DCheckedSetBash.java47 Set intersection = clone(s1);
49 Set diff1 = clone(s1); diff1.removeAll(s2);
50 Set diff2 = clone(s2); diff2.removeAll(s1);
51 Set union = clone(s1); union.addAll(s2);
99 static Set clone(Set s) { method in class:CheckedSetBash
100 Set clone = newSet();
102 clone.addAll(arrayList);
103 if (!s.equals(clone))
105 if (!s.containsAll(clone))
107 if (!clone
[all...]
/openjdk7/jdk/test/java/util/LinkedHashSet/
H A DBasic.java47 Set intersection = clone(s1);
49 Set diff1 = clone(s1); diff1.removeAll(s2);
50 Set diff2 = clone(s2); diff2.removeAll(s1);
51 Set union = clone(s1); union.addAll(s2);
99 static Set clone(Set s) throws Exception { method in class:Basic
100 Set clone;
102 clone = (method==0 ? (Set) ((LinkedHashSet)s).clone() :
105 if (!s.equals(clone))
107 if (!s.containsAll(clone))
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DAttributeEntry.java61 protected AttributeEntry (InterfaceEntry that, IDLID clone) argument
63 super (that, clone);
66 public Object clone () method in class:AttributeEntry
69 } // clone
H A DExceptionEntry.java61 protected ExceptionEntry (SymtabEntry that, IDLID clone) argument
63 super (that, clone);
66 public Object clone () method in class:ExceptionEntry
69 } // clone
H A DForwardValueEntry.java60 protected ForwardValueEntry (SymtabEntry that, IDLID clone) argument
62 super (that, clone);
65 public Object clone () method in class:ForwardValueEntry
68 } // clone
H A DNativeEntry.java44 protected NativeEntry (SymtabEntry that, IDLID clone) argument
46 super (that, clone);
58 /** This is a shallow copy clone. */
59 public Object clone () method in class:NativeEntry
62 } // clone

Completed in 140 milliseconds

1234567891011>>