scala Option

scala option 使用 match 语句的时候需要case掉所有可能,否则运行时会报 scala.MatchError 错误

原文地址:https://www.cnblogs.com/zealousness/p/15348789.html