1. + plus / div
- minus % rem / mod
* times .. rangeTo
2.详情看http://kotlinlang.org/docs/reference/operator-overloading.html#operator-overloading
1. + plus / div
- minus % rem / mod
* times .. rangeTo
2.详情看http://kotlinlang.org/docs/reference/operator-overloading.html#operator-overloading
本文标题:运算符重载
本文链接:https://www.haomeiwen.com/subject/hzcqcqtx.html
网友评论