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

/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();
/javamail/mail/src/test/java/com/sun/mail/test/
H A DProtocolHandler.java149 public Object clone() { method in class:ProtocolHandler
151 return super.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/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();
/javamail/mail/src/main/java/javax/mail/internet/
H A DInternetAddress.java186 public Object clone() { method in class:InternetAddress
189 a = (InternetAddress)super.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...]

Completed in 120 milliseconds