Whether in Java or Scala, they pander to sloppy thinking about ... for (str <- Option(s)) yield { /* only executed if s is not null */ } getOrElse "".
確定! 回上一頁