this.type 用来标注返回实例本身,见 Builder 类定义

def +=(elem: Elem): this.type

 

posted on 2022-05-31 15:04  啊哈咧  阅读(38)  评论(0编辑  收藏  举报