Skip to content

Tag Archives: Scala

Apache Spark is a lightning-fast unified analytics engine used for cluster computing for large data sets like BigData and Hadoop with the aim to run… Read More
Scala is an object-oriented programming language with functional and multi-paradigm support. Scala generates byte code and runs on Java Virtual Machine. Vectors in scala are… Read More
Binary Search is an algorithm that helps us find an element in a sorted array in O(log n) time. Its algorithm works on the principle… Read More
Implicit parameters are the parameters that are passed to a function with implicit keyword in Scala, which means the values will be taken from the… Read More
Heighten and Widen are the functions needed to enable the clients to place elements of different widths on top of each other, or place elements… Read More
The main idea of continuations in scala is the ability to interrupt a program, save its control state, and resume it at a later point… Read More
Sequence is an iterable collection of class Iterable. It is used to represent indexed sequences that are having a defined order of element i.e. guaranteed… Read More
In this article we shall discuss how the Unified Type System works in Scala. A Unified Type System essentially means that there is one Super-Type… 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 toBuffer() method is utilized to return a buffer consisting of all the elements of the SortedSet. Method Definition: def toBuffer[B… 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