Skip to content

Category Archives: Scala

The to(end: int, step: int) method is utilized to return a range from the stated integer to the ‘end’, which is given in the arguments… Read More
In Scala, Byte is a 8-bit signed integer (equivalent to Java’s byte primitive type). The toInt() method is utilized to convert the specified number into… Read More
The to(end: Int) method is utilized to return a range from the stated int to the ‘end’, which is given in the arguments list but… Read More
The signum() method is utilized to return 1 for positive specified number, -1 for negative specified number and 0 for 0 specified value. Method Definition:… Read More
The self() method is utilized to return the same value which has been specified.  Method Definition: (Value).selfReturn Type: It returns true the same value which… Read More
The min() method is utilized to return the minimum value of the two specified int numbers.  Method Definition: (First_Number).min(Second_Number)Return Type: It returns true the minimum… Read More
The max() method is utilized to return the maximum value of the two specified int numbers. Method Definition: (First_Number).max(Second_Number) Return Type: It returns true the… Read More
The >>(x: Int) method is utilized to return a value which is the result of the int value right bit shifting by the specified int… Read More
The >>(x: Long) method is utilized to return a value which is the result of the int value right 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 right bit shifting by the specified double… Read More
The >=(x: Char) method is utilized to return true if the specified int value is greater than or equal to the char value, otherwise false.… Read More
The >=(x: Byte) method is utilized to return true if the specified int value is greater than or equal to the short value, otherwise false.… Read More
The >=(x: Short) method is utilized to return true if the specified int value is greater than or equal to the short value, otherwise false.… Read More
The >=(x: Int) method is utilized to return true if the specified int value is greater than or equal to the int value, otherwise false.… Read More
The >=(x: Long) method is utilized to return true if the specified int value is greater than or equal to the long value, otherwise false.… Read More