在项目用到了HashMap,需要遍历,并取到需要的值。
var iterator:Iterator = actImage.toLineMap.entrySet().iterator(); while(iterator.hasNext()) { var entry:Entry = iterator.next() as Entry; trace(entry.getValue()); var obj:Object = entry.getValue() as Object; trace(obj);
FLEX HashMap库包下载 |
请发表评论