|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides methods for cloning and copying objects.
Method Summary | |
java.lang.Object |
clone(boolean deepClone)
Returns the new object that has been cloned. |
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
Copies the object. |
boolean |
hasContent(java.lang.Object obj)
Returns true if this object contains the same elements
as the passed in object. |
Method Detail |
public java.lang.Object clone(boolean deepClone)
Returns the new object that has been cloned.
deepClone
- true
to use deep clone,
false
to use shallow.
public void copyTo(java.lang.Object destObject, boolean deepCopy)
Copies the object.
destObject
- The destination object to copy to.deepCopy
- true
to use deep copy,
false
to use shallow.public boolean hasContent(java.lang.Object obj)
Returns true
if this object contains the same elements
as the passed in object.
obj
- The object to check for content.
true
if this object contains the same elements
as the passed in object, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |