scala 的getOrElse

今天作项目的时候被scala的getOrElse的返回类型坑了好久,特意记录以下:java 对于scala的getOrElse这个方法,其函数签名以下express /* * Returns the option's value if the option is nonempty, otherwise * return the result of evaluating default. * @pa
相关文章
相关标签/搜索