添加这两个新实现的好处是散列集合现在可以维护贯穿其元素的两条路径。
The advantage of these additions is that a hashed collection now maintains two paths through its elements.
您可以通过使用String . intern或维护一个用户散列集合或散列映射来解决这个问题。
You can solve this problem by using String.intern or maintaining a user hash set or hash map.
除标准的散列关系之外,现在还有一个可遍历整个集合的链表。
In addition to the standard hashing relationship, there is now a linked list that traverses through the collection.
应用推荐