如何在 flex 中实现一个数据结构,就像 Java 中的 LinkedHashSet [英] how to implement a data-structure in flex that just like LinkedHashSet in Java

查看:17
本文介绍了如何在 flex 中实现一个数据结构,就像 Java 中的 LinkedHashSet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 Flex 中的 ArrayCollection 是有限的,我正在寻找一种类似于Java 中的 LinkedHashSet,LinkedHashSet 维护一个双向链表,贯穿其所有条目,它定义了迭代顺序,即元素插入集合的顺序(插入顺序).但关于 Flex 数据的信息很少-结构,所以任何人都可以帮助我,谢谢

As ArrayCollection in Flex is limited, I'm looking for a data-structure that something like LinkedHashSet in Java, LinkedHashSet maintains a doubly-linked list running through all of its entries,it defines the iteration ordering, which is the order in which elements were inserted into the set (insertion-order).But there is little information about Flex data-structure, so anyone can help me, thanks

推荐答案

这个库可能值得检查:

http://sibirjak.com/blog/index.php/集合/as3commons-集合/

此外,请查看此问题以获取有关其他库的建议.

Also, check this question for suggestions on other libraries.

这篇关于如何在 flex 中实现一个数据结构,就像 Java 中的 LinkedHashSet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆