![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVASE
VincentLee0211
实习ING...
展开
-
查询字符串中英文字符(Java)
[color=red] 该程序纯属新人娱乐。[/color] 通过这个程序可以查看一段字符串中出现的中文字符、英文字符(区分大小写)、空格等个数。 其实应该有更好的方法可以尝试,比如正则表达式。[color=red] 在SearchUtil类中,所有的字符串常量都应该定义为类常量;for循环中所有的局部变量i,j应该明确定义。[/color][code=...原创 2012-07-01 22:20:20 · 354 阅读 · 0 评论 -
创建maven nexus私服,archetype:generate时报错
[quote]resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced [/quote][b]1. 删除.m2 文件夹下对应jar包的 xxx.lastUpdated2. 使用mvn命令时添加-U参数3. nexus---->>相...原创 2013-05-28 21:12:45 · 121 阅读 · 0 评论