Skip to content

Category Archives: Scala

The <<(x: Long) method is utilized to return a value which is the result of the int value left bit shifting by the specified long… Read More
The <<(x: Double) method is utilized to return a value which is the result of the int value left bit shifting by the specified double… Read More
The |(x: Char) method is utilized to return a value which is the result of the bitwise OR operation of the int and specified char… Read More
The |(x: Byte) method is utilized to return a value which is the result of the bitwise OR operation of the int and specified byte… Read More
Prerequisite: Introduction to Scala   Before, we start with the process of Installing Scala on our System. We must have first-hand knowledge of What the… Read More
The isWhole() method is utilized to return true if the specified int number is not having any decimal component, otherwise, it returns false. Method Definition:… Read More
The isValidShort() method is utilized to return true if the specified int number is either zero or lies within the range of scala.short MinValue and… Read More
The isValidLong() method is utilized to return true if the specified int number is either zero or lies within the range of scala.long MinValue and… Read More
The isValidInt() method is utilized to return true if the specified int number is either zero or lies within the range of scala.int MinValue and… Read More
The isValidChar() method is utilized to return true if the specified int number is either zero or lies within the range of scala.Char MinValue and… Read More
The isValidByte() method is utilized to return true if the specified int number is either zero or lies within the range of scala.Byte MinValue and… Read More
The getClass() method is utilized to return the class of the given int number. Method Definition: (Number).getClass Return Type: It returns the class of the… Read More
The |(x: Short) method is utilized to return a value which is the result of the bitwise OR operation of the int and specified short… Read More
The ^(x: Char) method is utilized to return a value which is the result of the bitwise XOR operation of the int and specified char… Read More
The |(x: Int) method is utilized to return a value which is the result of the bitwise OR operation of the int and specified int… Read More