Searched refs:clone (Results 1 - 25 of 32) sorted by relevance

12

/javamail/mail/src/main/java/com/sun/mail/imap/
H A DACL.java112 public Object clone() throws CloneNotSupportedException { method in class:ACL
113 ACL acl = (ACL)super.clone();
114 acl.rights = (Rights)this.rights.clone();
H A DRights.java316 * Returns a clone of this Rights object.
318 public Object clone() { method in class:Rights
321 r = (Rights)super.clone();
354 // check clone
355 fc = (Rights)f1.clone();
370 // check clone
371 fc = (Rights)f1.clone();
H A DUtility.java154 msgs = msgs.clone();
H A DIMAPMessage.java518 return bs.language.clone();
1614 return aa.clone();
/javamail/android/mail/src/main/java/com/sun/mail/handlers/
H A Dhandler_base.java72 return getDataFlavors().clone();
/javamail/mail/src/test/java/com/sun/mail/test/
H A DProtocolHandler.java149 public Object clone() { method in class:ProtocolHandler
151 return super.clone();
H A DTestServer.java188 (ProtocolHandler)handler.clone();
H A DTestSSLSocketFactory.java151 return suites.clone();
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DDurationFilter.java256 * not include the current filter state. The newly create clone acts as if
264 protected DurationFilter clone() throws CloneNotSupportedException { method in class:DurationFilter
265 final DurationFilter clone = (DurationFilter) super.clone();
266 clone.count = 0L; //Reset the filter state.
267 clone.peak = 0L;
268 clone.start = 0L;
269 return clone;
H A DLogManagerProperties.java875 * state. This method violates the clone contract so that no instances of
883 public synchronized Object clone() { method in class:LogManagerProperties
1112 return exportCopy((Properties) defaults.clone());
/javamail/mail/src/main/java/com/sun/mail/util/
H A DMailSSLSocketFactory.java143 return keyManagers.clone();
152 this.keyManagers = keyManagers.clone();
211 return trustedHosts.clone();
221 this.trustedHosts = trustedHosts.clone();
/javamail/mail/src/main/java/javax/mail/search/
H A DAndTerm.java82 terms = new SearchTerm[t.length]; // clone the array
93 return terms.clone();
H A DFlagTerm.java89 return (Flags)flags.clone();
H A DOrTerm.java92 return terms.clone();
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailMessage.java118 return (String[])(labels.clone());
/javamail/mail/src/main/java/javax/mail/
H A DFlags.java198 this.user_flags = (Hashtable)flags.user_flags.clone();
448 * Returns a clone of this Flags object.
451 public Object clone() { method in class:Flags
454 f = (Flags)super.clone();
459 f.user_flags = (Hashtable)this.user_flags.clone();
479 // check clone with only system flags
480 fc = (Flags)f1.clone();
495 // check clone
496 fc = (Flags)f1.clone();
H A DService.java651 Vector<? extends EventListener> v = (Vector)vector.clone();
H A DFolder.java1631 Vector<? extends EventListener> v = (Vector)vector.clone();
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DDurationFilterTest.java87 final Filter clone = source.clone();
88 assertNotNull(clone);
89 assertFalse(source == clone);
90 assertTrue(source.equals(clone));
91 assertEquals(source.getClass(), clone.getClass());
95 assertFalse(source.equals(clone));
96 assertTrue(((DurationFilterExt) clone).clone().equals(clone));
767 public DurationFilterExt clone() throws CloneNotSupportedException { method in class:DurationFilterTest.DurationFilterExt
[all...]
H A DLogManagerPropertiesTest.java309 Properties clone = (Properties) mp.clone();
310 assertFalse(clone instanceof LogManagerProperties);
311 assertEquals(Properties.class, clone.getClass());
312 assertNotSame(clone, parent);
313 assertNotSame(clone, mp);
314 assertEquals(mp.size(), clone.size());
315 assertTrue(clone.equals(mp)); //don't call mp.equals.
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxMessage.java155 (InternetAddress)unix_from_user.clone() : null;
226 Flags oldFlags = (Flags)flags.clone();
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DENVELOPE.java249 return grouplist.clone();
/javamail/android/activation/src/main/java/javax/activation/
H A DDataHandler.java385 return transferFlavors; // no need to clone an empty array
387 return transferFlavors.clone();
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Message.java93 Flags oldFlags = (Flags)flags.clone();
/javamail/mail/src/main/java/javax/mail/internet/
H A DInternetAddress.java186 public Object clone() { method in class:InternetAddress
189 a = (InternetAddress)super.clone();

Completed in 180 milliseconds

12