Skip to content

Tag Archives: Scala mutable-sortedset

In Scala Mutable collection the copyToArray() method is utilized in copying the elements of the SortedSet to an Array. Method Definition: def copyToArray(xs: Array[A], start:… Read More
In Scala mutable collection &~() method is utilized to create a new SortedSet consisting of elements after the difference between two given SortedSets. Method Definition:… Read More
In Scala mutable collection, ++() method is utilized to add elements of one SortedSet to another SortedSet. Method Definition: def ++(elems: A): SortedSet[A] Return Type:… Read More
In Scala mutable collection apply() method is utilized to test if some elements are exist in the SortedSet. Method Definition: def apply(elem: A) Return Type:… Read More
In Scala mutable collection contains() method is utilized to check if an element is present in the SortedSet or not. Method Definition: def contains(elem: A):… Read More
In Scala mutable collection, diff() method is utilized to compute the difference of a SortedSet and an another SortedSet. Method Definition: def diff(that: SortedSet[A]): SortedSet[A]… Read More
In scala mutable collection, dropRight() is utilized to return all elements except last ‘n’ elements. Method Definition: def dropRight(n: Int): SortedSet[A] Return Type: It returns… Read More
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):… Read More
In scala mutable collection, drop() method is utilized to delete the first ‘n’ elements or to return all elements except first ‘n’ elements. Method Definition:… Read More
In Scala mutable collections, tail() method is utilized to return a SortedSet consisting of all the elements except the first element of the SortedSet. Method… Read More
In Scala mutable collections, +() method is utilized to create a new SortedSet with an additional element unless the element is already present. Method Definition:… Read More
In Scala mutable collections, SortedSet -() method is utilized to creates a new SortedSet with a given element removed from the SortedSet. Method Definition: def… Read More
In Scala mutable collections, SortedSet toString() method is utilized to return a string consisting of all the elements of the SortedSet. Method Definition: def toString():… Read More
In Scala mutable collections, SortedSet toSeq() method is utilized to return a seq consisting of all the elements of the SortedSet. Method Definition: def toSeq:… Read More
In Scala mutable collections, SortedSet subsetOf() method is utilized to test if a SortedSet is a subSortedSet of another SortedSet. Method Definition: def subsetOf(that: SortedSet[A]):… Read More