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

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.
主站蜘蛛池模板: 启东市| 苗栗县| 诏安县| 斗六市| 六枝特区| 英山县| 凌源市| 永宁县| 蓬安县| 浮梁县| 牙克石市| 阿城市| 台安县| 永德县| 昌乐县| 竹北市| 安庆市| 堆龙德庆县| 丘北县| 乌兰察布市| 大姚县| 青河县| 台州市| 冷水江市| 调兵山市| 荆州市| 时尚| 杭锦后旗| 克东县| 富裕县| 龙海市| 金寨县| 南陵县| 维西| 松溪县| 翼城县| 玛纳斯县| 江永县| 新丰县| 龙海市| 芷江|