摘要: kotlin 有很多函数和特性,可以方便的做一些关联操作,简化代码。例如以下一些: 一、let、also、run、with、apply 这5个标准库函数的区别 let 可以实现一个方法,将自身作为参数传递到方法中,it run 可以实现一个方法,将自身作为参数传递到方法中,this whit wit 阅读全文
posted @ 2023-06-01 08:51 Liu Siyuan 阅读(13) 评论(0) 推荐(0) 编辑