Scala SortedSet apply() method with example
The apply() method is utilized to test if some elements are exist in the SortedSet. Method Definition: def apply(elem: A) Return Type: It returns true if some elements are present in the SortedSet else it returns false. Example #1: // Scala program of apply() // method import scala.collection.immuta