Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Scala
1.8K+ articles
Scala mutable-sortedset
41+ articles
Scala Mutable-SortedMap
36+ articles
Scala Mutable-collections
46 posts
Recent Articles
Scala Mutable SortedMap exists() method with example
Last Updated: 04 May 2020
The exists() method is utilized to check if the given predicate satisfy the elements of the SortedMap or not.Method Definition: def exists(p: ((A, B)) = Boolean): BooleanR...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap filter() method with example
Last Updated: 04 May 2020
The filter() method is utilized to select all elements of the SortedMap which satisfies a stated predicate.Method Definition: def filter(p: ((A, B))= Boolean): SortedMap[A...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap filterKeys() method with example
Last Updated: 04 May 2020
The filterKeys() method is utilized to find all the pairs where the keys satisfies the given predicate.Method Definition: def filterKeys(p: (A) = Boolean): SortedMap[A, B]...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap find() method with example
Last Updated: 04 May 2020
The find() method is utilized to find the first element of the SortedMap that satisfies the given predicate.Method Definition: def find(p: ((A, B)) = Boolean): Option[(A, ...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap foreach() method with example
Last Updated: 04 May 2020
The foreach() method is utilized to apply the given function to all the elements of the SortedMap.Method Definition: def foreach(f: ((A, B)) = Unit): UnitReturn Type: It r...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap isEmpty() method with example
Last Updated: 04 May 2020
The isEmpty() method is utilized to check if the given SortedMap is empty or not.Method Definition: def isEmpty: BooleanReturn Type: It returns true if the stated SortedMa...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap keys() method with example
Last Updated: 04 May 2020
The keys() method is utilized to give an iterator over all the keys of the SortedMap.Method Definition: def keys: Iterable[A]Return Type: It returns an iterator over all t...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap max() method with example
Last Updated: 04 May 2020
The max() method is utilized to find the largest element of the SortedMap.Method Definition: def max: (A, B)Return Type: It returns the largest element of the SortedMap.Ex...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap copyToArray() method with example
Last Updated: 04 May 2020
The copyToArray() method is utilized in copying pair of keys of the SortedMap to an Array.Method Definition: def copyToArray(xs: Array[(A, B)]): UnitReturn Type: It return...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap dropRight() method with example
Last Updated: 04 May 2020
The dropRight() method is utilized to delete the last 'n' elements.Method Definition: def dropRight(n: Int): SortedMap[A, B]Return Type: It returns all the elements of the...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap size() method with example
Last Updated: 04 May 2020
The size() is utilized to find the number of key-value pairs in the stated SortedMap.Method Definition: def size: IntReturn Type: It returns the number of elements in the ...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap toSet() method with example
Last Updated: 04 May 2020
The toSet() method is utilized to display a set from the Scala SortedMap.Method Definition: def toSet: Set[A]Return Type: It returns a set from the stated SortedMap.Exampl...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap contains() method with example
Last Updated: 04 May 2020
The contains() method of Scala is equivalent to the isDefinedAt method of Scala but the only difference is that isDefinedAt is observed on all the PartialFunction classes ...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap apply() method with example
Last Updated: 04 May 2020
The apply() is utilized to search a key in the stated SortedMap.Method Definition: m1.apply("key") Here m1 is SortedMap.Return Type: It returns the value of the key to be...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
Scala Mutable SortedMap addString() method with a separator with example
Last Updated: 04 May 2020
This method is identical to the addString() method but here a separator is also included.Method Definition: def addString(b: StringBuilder, sep: String): StringBuilderWher...
read more
Scala
Scala Mutable-collections
Scala Mutable-SortedMap
1
2
3
4