| Package | net.guttershark.util |
| Class | public final class ObjectUtils |
| Method | Defined by | ||
|---|---|---|---|
|
clone(object:*):*
Clone an object instance.
| ObjectUtils | ||
|
[static]
Singleton access.
| ObjectUtils | ||
| clone | () | method |
public function clone(object:*):*Clone an object instance.
Parametersobject:* — The object to clone.
|
* |
var utils:Utilities = Utilities.gi(); var myObj:Object = new Object(); myObj.message = "hello world"; var myCopy:Object = utils.object.clone(myObj); trace(myCopy.message);
| gi | () | method |