12 2015 档案

摘要:A partial function of typePartialFunction[A, B]is a unary function where the domain does not necessarily include all values of typeA. 一个PartialFunctio... 阅读全文
posted @ 2015-12-11 15:16 XIAOSHUA 阅读(243) 评论(0) 推荐(0) 编辑
摘要:Represents optional values. Instances of Option are either an instance of scala.Some or the object None.Option类代表可选的值。Option的实例要么是Some的实例,要么是None的实例。T... 阅读全文
posted @ 2015-12-10 14:06 XIAOSHUA 阅读(337) 评论(0) 推荐(0) 编辑
摘要:Nothingis - together withscala.Null- at the bottom of Scala's type hierarchy.Scala中的Nothing和Null两个类位于Scala类型继承树的底部。Nothingis a subtype of every other ... 阅读全文
posted @ 2015-12-04 19:59 XIAOSHUA 阅读(197) 评论(0) 推荐(0) 编辑