- Learn Scala Programming
- Slava Schmidt
- 119字
- 2021-06-10 19:35:42
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.
推薦閱讀
- The Complete Rust Programming Reference Guide
- Designing Machine Learning Systems with Python
- Python科學計算(第2版)
- ASP.NET Core 5.0開發入門與實戰
- iOS 9 Game Development Essentials
- Getting Started with NativeScript
- Learning Laravel's Eloquent
- INSTANT Yii 1.1 Application Development Starter
- Mockito Essentials
- ABAQUS6.14中文版有限元分析與實例詳解
- After Effects CC案例設計與經典插件(視頻教學版)
- Java語言程序設計實用教程(第2版)
- C++服務器開發精髓
- JavaWeb從入門到精通(視頻實戰版)
- 青少年Python趣味編程