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: iteratorFromkeysIteratorFromvaluesIteratorFrom, and rangeTo give us a way to get elements of the map as an iterator.
  • Element retrieval: firstKeylastKeyminAfter, and maxBefore allow us to retrieve an element that satisfies some ordering condition.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.41.235