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

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.
主站蜘蛛池模板: 富平县| 如皋市| 桃源县| 铜山县| 武乡县| 桐庐县| 宜黄县| 太谷县| 台中市| 二手房| 彰化市| 乡城县| 南部县| 长顺县| 拜泉县| 玛曲县| 始兴县| 涟源市| 象山县| 额敏县| 腾冲县| 杨浦区| 万山特区| 夏津县| 玛多县| 泊头市| 兰考县| 河北区| 汨罗市| 竹山县| 本溪| 巨野县| 历史| 衡南县| 高尔夫| 虎林市| 桓台县| 哈巴河县| 荥经县| 焉耆| 双江|