官术网_书友最值得收藏!

SeqMap

SeqMap is a generic abstraction for ordered immutable maps. SeqMap itself exists in mutable and immutable forms. These forms have few different implementations:

  • The immutable ListMap implements immutable maps using a list-based data structure. The methods traversing ListMap visit its elements in the order they were inserted.
  • The mutable ListMap is a simple mutable map backed by a list. It preserves insertion order as its immutable sibling does.
  • VectorMap exists only in immutable form. It is implemented using a vector/map-based data structure and preserves insertion order. It has constant lookup but slower other operations.
  • LinkedHashMap is a mutable map whose implementation is based on a hashtable and preserves the insertion order if iterated over.
主站蜘蛛池模板: 那坡县| 临高县| 扶余县| 独山县| 汉沽区| 建始县| 开阳县| 临城县| 和平区| 永兴县| 祥云县| 山东省| 晋城| 丰都县| 江源县| 冷水江市| 略阳县| 武宁县| 怀远县| 留坝县| 莲花县| 隆昌县| 通州市| 涟水县| 锡林浩特市| 绵阳市| 谢通门县| 来安县| 通许县| 稻城县| 柳州市| 邮箱| 新营市| 牟定县| 香格里拉县| 黑水县| 重庆市| 祁门县| 怀柔区| 白朗县| 清流县|