A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 17, 2001
Mar 05, 2005 18:21:00
Is there an object in ActionScript which will behave something like a
? I am trying to store some data into an array using
var myArray:Array=new Array(); myArray.push(strKey,Object);
I am storing multiple keys object pairs this way, but now I am wondering how to get the object from the array using the key like with a hashmap? Can I do something like
Object obj = myArray.get(strKey);
I am trying to avoid looping through the array.
Thanks for any advice.
It is sorta covered in the
JavaRanch Style Guide
comaparing two arrays
singleton class or to ahve a static variable inside a class
Map Backed Form Bean
Cast Object to Object
singleton class or to have a static variable in a class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013