Scala mutable SortedSet equals() method
In Scala mutable collection, equals() method is utilized to check whether the two SortedSets have the same elements or not. Method Definition: def equals(that: Any): Boolean Return Type: It returns true if the elements of both the SortedSets are same else it returns false. Example #1: // Scala progr