1 _=
setters:以_=接在getter的identifier后,并紧跟参数
def y_= (newValue: Int): Unit = { if (newValue < bound) _y = newValue else printWarning }
operators(scala)
原文:http://www.cnblogs.com/yumanman/p/7586143.html