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...
阅读全文
摘要:Represents optional values. Instances of Option are either an instance of scala.Some or the object None.Option类代表可选的值。Option的实例要么是Some的实例,要么是None的实例。T...
阅读全文
摘要:Nothingis - together withscala.Null- at the bottom of Scala's type hierarchy.Scala中的Nothing和Null两个类位于Scala类型继承树的底部。Nothingis a subtype of every other ...
阅读全文