Within the Scala documentation set, the classic example is the Ordered trait, which defines methods-with-funny-names to provide comparison (and thus ordering) capabilities, as shown in Listing 13
在Scala文档集中,经典的示例就是Ordered 特征,它定义了名字很有趣的方法,以提供比较(以及排序)功能,如清单13 所示
Within the Scala documentation set, the classic example is the Ordered trait, which defines methods-with-funny-names to provide comparison (and thus ordering) capabilities, as shown in Listing 13
在Scala文档集中,经典的示例就是Ordered 特征,它定义了名字很有趣的方法,以提供比较(以及排序)功能,如清单13 所示
应用推荐