摘要: [ -a FILE ] 如果 FILE 存在则为真。 [ -b FILE ] 如果 FILE 存在且是一个块特殊文件则为真。 [ -c FILE ] 如果 FILE 存在且是一个字特殊文件则为真。 [ -d FILE ] 如果 FILE 存在且是一个目录则为真。 [ -e FILE ] 如果 FIL 阅读全文
posted @ 2017-02-09 12:03 Entropy_lxl 阅读(397) 评论(0) 推荐(0) 编辑
摘要: Option的解释: Represents optional values. Instances of Option are either an instance of scala.Some or the object None. Option[A] (sealed trait) 有两个取值: 1. 阅读全文
posted @ 2017-02-09 10:46 Entropy_lxl 阅读(20853) 评论(0) 推荐(1) 编辑