Scala SortedMap min() method with example
The min() method is utilized to find the smallest element of the SortedMap. Method Definition: def min: (A, B) Return Type: It returns the smallest element of the SortedMap. Example #1: Scala // Scala program of min() // method import scala.collection.immutable.SortedMap // Creating object object Gf