摘要:
普通扩展方法 格式 fun 类名.方法名(参数列表):返回值类型{ 方法体 } 使用举例 data class A(var name:String, var age:Int) fun A.printInfo(){ println("name=${this.name},age=${this.age}" 阅读全文
摘要:
``` $ git diff warning: in the working copy of 'a.txt', LF will be replaced by CRLF the next time Git touches it diff --git a/a.txt b/a.txt index 35fb 阅读全文