IDEA 之编码技巧

判空

var 声明

return 返回值

 

not 判非空

 

not 取反

if 条件判断

 

 

fori 带索引的遍历

 

for 遍历

 

cast 强转

nn 判非空

相关文章
相关标签/搜索