getOrElse
For the Option's getOrElse function go here.
trait Map[K, V] {
def getOrElse(k: K, v: => V): V
}
getOrElse returns the value associated to the key k in this Map.
If this Map doesn’t contain the key k then this function returns the result of the computation v.