public class Utils extends Object
构造器和说明 |
---|
Utils() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
deleteDir(File dir)
删除目录
|
static <K,V extends Number> |
getSortedMapByValue(Map<K,V> map)
根据MAP的VALUE进行排序
|
static boolean |
isChineseCharAndLengthAtLeastOne(String word)
至少出现一次中文字符,且以中文字符开头和结束
|
static boolean |
isChineseCharAndLengthAtLeastTwo(String word)
至少出现两次中文字符,且以中文字符开头和结束
|
public static boolean isChineseCharAndLengthAtLeastOne(String word)
word
- public static boolean isChineseCharAndLengthAtLeastTwo(String word)
word
- public static boolean deleteDir(File dir)
dir
- 目录Copyright © 2014–2015 APDPlat. All rights reserved.