Class fever.utils.Cloner

Description

Methods to clone object(s).

Method Index

buildClone(), buildClones()

Method Detail

buildClone

static public function buildClone(clone:Cloneable):Cloneable

Constructs a new clone using clone instance.

You must use casting to retreive real object type as this this method return Cloneable type object.

Parameters

cloneA Cloneable instance

Return

Cloneable instance.

buildClones

static public function buildClones(clone:Cloneable, count:Number):Array

Constructs passed-in {code count} clones using clone instance.

Return

Array of Cloneable instances.