码迷,mamicode.com
首页 > 其他好文 > 详细

日常整理

时间:2018-09-12 01:12:31      阅读:797      评论:0      收藏:0      [点我收藏+]

标签:集合   arraylist   can   new   字符串   bsp   类型   nbsp   lis   

1.if(char <= ‘9‘ && char >= ‘0‘)

比较字符时注意加 ‘ ‘

 

2.type argument cannot be of primitive type

类型参数不能是基元类型

出处: ArrayList<char> charArr = new ArrayList<char>();

 

3.字符串集合的遍历

 

日常整理

标签:集合   arraylist   can   new   字符串   bsp   类型   nbsp   lis   

原文地址:https://www.cnblogs.com/bushishucai/p/9631691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!