Mercurial > hg > audiodb
view bindings/as3/ext/asunit/util/Properties.as @ 764:77f7bc99dfd6
Improved lsh functionality- added multiprobe lsh algorithm from branches/multiprobeLSH and cleaned up lshlib code.
author | mas01mc |
---|---|
date | Fri, 26 Nov 2010 09:58:09 +0000 |
parents | 3a0b9700b3d2 |
children |
line wrap: on
line source
package asunit.util { import asunit.errors.UnimplementedFeatureError; import flash.errors.IllegalOperationError; [ExcludeClass] public dynamic class Properties { public function store(sharedObjectId:String):void { throw new UnimplementedFeatureError("Properties.store"); } public function put(key:String, value:Object):void { this[key] = value; } public function setProperty(key:String, value:Object):void { put(key, value); } public function getProperty(key:String):Object { try { return this[key]; } catch(e:Error) { throw IllegalOperationError("Properties.getProperty"); } return null; } } }