I am reading a Spark in Action book, I came across a construct that even after a while working with Scala I still can\'t understand. Here is the code (complete code) :
Fi