/openjdk7/langtools/test/tools/javac/ |
H A D | DuplicateClass.java | 39 protected void clone() { method in class:DuplicateClass 40 super.clone();
|
H A D | ObjectIncompatibleInterface.java | 27 * @summary compiler incorrectly rejects interface int clone(); 37 int clone(); method in interface:ObjectIncompatibleInterface
|
H A D | CloneableProblem.java | 36 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 D | NoClone.java | 27 * @summary no compile-time error for clone, etc. in annotation type 33 Object clone(); method in interface:NoClone
|
H A D | NoObjectMethods.java | 27 * @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 D | A.java | 34 <D> D clone(D obj); method in interface:A
|
/openjdk7/jdk/src/share/classes/java/security/cert/ |
H A D | CertPathParameters.java | 48 Object clone(); method in interface:CertPathParameters
|
H A D | CertPathValidatorResult.java | 49 Object clone(); method in interface:CertPathValidatorResult
|
H A D | CertStoreParameters.java | 62 * 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 D | CRLSelector.java | 65 Object clone(); method in interface:CRLSelector
|
H A D | CertPathBuilderResult.java | 67 Object clone(); method in interface:CertPathBuilderResult
|
H A D | CertSelector.java | 66 Object clone(); method in interface:CertSelector
|
H A D | CollectionCertStoreParameters.java | 120 public Object clone() { method in class:CollectionCertStoreParameters 122 return super.clone();
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | ImageCapabilities.java | 72 public Object clone() { method in class:ImageCapabilities 74 return super.clone();
|
/openjdk7/langtools/test/tools/javac/generics/rawOverride/ |
H A D | T7148556.java | 27 * @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 D | CK_DATE.java | 99 * 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 D | State.java | 56 public Object clone(); method in interface:State
|
/openjdk7/jdk/test/java/util/AbstractMap/ |
H A D | AbstractMapClone.java | 27 * @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 D | CheckedListBash.java | 47 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 D | CheckedSetBash.java | 47 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 D | Basic.java | 47 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 D | AttributeEntry.java | 61 protected AttributeEntry (InterfaceEntry that, IDLID clone) argument 63 super (that, clone); 66 public Object clone () method in class:AttributeEntry 69 } // clone
|
H A D | ExceptionEntry.java | 61 protected ExceptionEntry (SymtabEntry that, IDLID clone) argument 63 super (that, clone); 66 public Object clone () method in class:ExceptionEntry 69 } // clone
|
H A D | ForwardValueEntry.java | 60 protected ForwardValueEntry (SymtabEntry that, IDLID clone) argument 62 super (that, clone); 65 public Object clone () method in class:ForwardValueEntry 68 } // clone
|
H A D | NativeEntry.java | 44 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
|