- Learn Scala Programming
- Slava Schmidt
- 72字
- 2021-06-10 19:35:41
SortedMap
SortedMap is similar to SortedSet. It has a two implementations, a mutable and immutable TreeMap, and provides a few methods defined in terms of SortedOps such as:
- Subcollection retrieval: iteratorFrom, keysIteratorFrom, valuesIteratorFrom, and rangeTo give us a way to get elements of the map as an iterator.
- Element retrieval: firstKey, lastKey, minAfter, and maxBefore allow us to retrieve an element that satisfies some ordering condition.
推薦閱讀
- Learning Scala Programming
- Testing with JUnit
- VSTO開發(fā)入門教程
- INSTANT MinGW Starter
- 深入淺出Windows API程序設(shè)計:編程基礎(chǔ)篇
- Quarkus實踐指南:構(gòu)建新一代的Kubernetes原生Java微服務
- 3D少兒游戲編程(原書第2版)
- 全棧自動化測試實戰(zhàn):基于TestNG、HttpClient、Selenium和Appium
- 圖數(shù)據(jù)庫實戰(zhàn)
- Visual Basic 6.0程序設(shè)計實驗教程
- 遠方:兩位持續(xù)創(chuàng)業(yè)者的點滴思考
- 嵌入式Linux C語言程序設(shè)計基礎(chǔ)教程
- Learning Perforce SCM
- Roslyn Cookbook
- Building Scalable Apps with Redis and Node.js