1 Reply Latest reply on Feb 8, 2007 6:45 AM by JKohn99

    HashMap

    jaimon_jaimon
      Hi,
      i cant find the more complex data structures in Flex ( meaninig any thing other then ArrayCollection): like hash map, linkedLists...
      are those things exist, or the need to be developed from scratch ??

      Cheers
      Jaimon
        • 1. Re: HashMap
          JKohn99 Level 1
          A quickie HasMap is to just use Object.
          var hash:Object = new Object();
          hash[key] = someOtherObject;

          var get:Object = hash[key];

          It's also easy to build a wrapper class around this to create your own hashmap.

          Other complex structures probably need to be built from scratch, although I'd bet
          that people are creating libaries now.