Skip to content

Category Archives: Scala

Short, a 16-bit signed integer (equivalent to Java’s short primitive type) is a subtype of scala.AnyVal. The &(x: Long) method is utilized to return a… Read More
Short, a 16-bit signed integer (equivalent to Java’s short primitive type) is a subtype of scala.AnyVal. The &(x: Int) method is utilized to return a… Read More
Short, a 16-bit signed integer (equivalent to Java’s short primitive type) is a subtype of scala.AnyVal. The &(x: Int) method is utilized to return a… Read More
Short, a 16-bit signed integer (equivalent to Java’s short primitive type) is a subtype of scala.AnyVal. The &(x: Int) method is utilized to return a… Read More
Short, a 16-bit signed integer (equivalent to Java’s short primitive type) is a subtype of scala.AnyVal. The &(x: Int) method is utilized to return a… Read More
Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriented programming language which also provides support to the functional programming approach. Scala… Read More
constant-timeThe method foreach() can be applied on Java list in Scala by utilizing Scala’s JavaConversions object. Moreover, here you need to use JavaConversions object as… Read More
A java Set of strings can be returned from a Scala program by writing a user defined method of Java in Scala. Here, we don’t… Read More
A java list of characters can be returned from a Scala program by writing a user defined method of Java in Scala. Here, we don’t… Read More
The method foreach() can be applied on Java set of characters in Scala by utilizing Scala’s JavaConversions object. Moreover, here we need to use JavaConversions… Read More
The method foreach() can be applied on Java list of characters in Scala by utilizing Scala’s JavaConversions object. Moreover, here we need to use JavaConversions… Read More
A java Set of characters can be returned from a Scala program by writing a user defined method of Java in Scala. Here, we don’t… Read More
A java Set can be converted to a Sequence in Scala by utilizing toSeq method of Java in Scala. Here, we need to import Scala’s… Read More
In this article, I’ll show you how to create your first Hello World computer program in various languages. Along with the program, comments are provided… Read More
A java list can be converted to a Vector in Scala by utilizing toVector method of Java in Scala. Here, we need to import Scala’s… Read More