本文介绍了任何在Java中的有序集的实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果有人熟悉Objective-C,则有一个名为,其项可以作为 Array 的访问。
If anybody is familiar with Objective-C there is a collection called NSOrderedSet
that acts as Set and its items can be accessed as an Array's ones.
在Java中有这样的东西吗?
Is there anything like this in Java?
我听说有一个集合,但我没有
I've heard there is a collection called LinkedHashMap
, but I haven't found anything like it for a set.
推荐答案
查看类
这篇关于任何在Java中的有序集的实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!