摘要: /** * 汉字转换为拼音 包含多音字,包含生母zh,ch,sh的 */ public void toPinYinAll(){ String initials = "zh,ch,sh"; //返回汉语拼音的全拼 List result ... 阅读全文
posted @ 2014-08-06 17:28 勿妄 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 1 public static String[] array_unique(String[] a) {2 Set set = new HashSet();3 set.addAll(Arrays.asList(a));4 return set.toArray(new String[0]);5 } 阅读全文
posted @ 2014-08-06 16:37 勿妄 阅读(206) 评论(0) 推荐(0) 编辑