colinlin1982 / maashaack

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

Typeable object clean the collection when the type property change ? #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Typeable object clean the collection when the type property change ?

{{{

public function set type( type:* ):void
{

    if ( _type != type )
    {

        _type = type is Class ? type as Class : ( ( type is Function ) ? 
type as Function : null ) ;

        if ( ! isLocked() )
        {
            clear() ; 
        }
    }
}  

}}}

Use the Lockable interface ?? in the constructor it's important

I must wait a moment and do some test to decide if i implement or not this 
feature.

Original issue reported on code.google.com by ekamel...@gmail.com on 18 Dec 2008 at 10:13

GoogleCodeExporter commented 9 years ago
No dependencies with the Lockable interface (in the system.process package and 
not in
the system.data package)

Fix the TypedArray, TypedCollectoon, TypedMap, TypedQueue, TypedSet, TypedStack 
class.

Original comment by ekamel...@gmail.com on 11 Apr 2009 at 8:17

GoogleCodeExporter commented 9 years ago
Fixed in the revision 664 :
http://code.google.com/p/maashaack/source/detail?r=664 

Original comment by ekamel...@gmail.com on 11 Apr 2009 at 8:19

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 11 Apr 2009 at 8:19