colinlin1982 / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

system.Objects #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create this class, must speak about it.

First method proposal :

{{{
/**
 * Copy the primitive object passed-in argument.
 */
public static function copyPrimitive( o:* ):*
{
    var buffer:ByteArray = new ByteArray();
    buffer.writeObject(o);
    buffer.position = 0;
    return buffer.readObject();
}

}}}

Original issue reported on code.google.com by ekamel...@gmail.com on 6 Dec 2008 at 12:11

GoogleCodeExporter commented 9 years ago
I implement the copyPrimitive method for the moment ;) 

Original comment by ekamel...@gmail.com on 7 Apr 2009 at 8:00

GoogleCodeExporter commented 9 years ago
CopyPrimitive basic implementation fixed in the revision 651 :
http://code.google.com/p/maashaack/source/detail?r=651

To continue other methods in the Objects class, we can open other issues.

I fixed this issue for the moment :)

Original comment by ekamel...@gmail.com on 7 Apr 2009 at 8:02