我写了个低效的.
public static boolean isMatch (String input, String checkKey) {

boolean result = false;
if (input.equals(checkKey) || input.toLowerCase().equals(checkKey.toLowerCase())) {
result = true;
}
return result;
}toLowerCase这个方式太低效. 我见过C++处理这类问题有一些高效方式.  java 有吗? 或者说java的toLowerCase 已经是被封装过的最高效的方式了?