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

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.
主站蜘蛛池模板: 浦东新区| 旺苍县| 安达市| 杭州市| 临沂市| 华池县| 兴化市| 田林县| 咸宁市| 阜宁县| 瓦房店市| 织金县| 荔浦县| 西平县| 罗源县| 边坝县| 南安市| 尉犁县| 耒阳市| 馆陶县| 汶川县| 朝阳市| 边坝县| 嘉峪关市| 九江市| 大理市| 平安县| 绿春县| 军事| 肇州县| 莱阳市| 汕头市| 贡觉县| 闽清县| 会昌县| 驻马店市| 通山县| 上饶县| 定襄县| 沿河| 时尚|