因此,也没有任何标准库类型的字面值。
MBean中的访问器和操作能够用任何其签名形式的原语类型,以及String、Date和其他标准库类。
Accessors and operations in MBeans can use any primitive type in their signatures, as well as String, Date, and other standard library classes.
事实证明,它们之间的关系相当明显:标准scala库中的Function 1类型(指包含一个参数的函数)在其定义上有一个apply方法。
As it turns out, the relationship is fairly obvious: the Function1 type in the standard Scala library (meaning a function that takes one parameter) has an apply method on its definition.
应用推荐