53552/how-to-declare-sets-with-value-in-scala
Hey,
You can follow this code:
scala> var s=Set(1,4,4,3) s: scala.collection.immutable.Set[Int] = Set(1, 4, 3) scala> var s:Set[Int]=Set(1,4,4,3) s: Set[Int] = Set(1, 4, 3)
Hey, Yes, there are two ways of doing ...READ MORE
Hi, Here is an example you can follow: scala> ...READ MORE
Use Array.maxBy method: val a = Array(("a",1), ("b",2), ...READ MORE
val coder: (Int => String) = v ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
Hi, Yes, in scala there is a guard condition where ...READ MORE
Hey, There are two ways to find the ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.