List of utility methods to do Char Array Compare
boolean | charArrayCMP(char[] src, char[] des) char Array CMP if (src.length != des.length) return false; for (int i = src.length - 1; i >= 0; i--) { if (src[i] != des[i]) return false; return true; |
int | compareTo(char[] chars1, char[] chars2) compare To int r = compareTo(chars1.length, chars2.length); if (r != 0) { return r; for (int i = 0; i < chars1.length; i++) { r = compareTo(chars1[i], chars2[i]); if (r != 0) { return r; ... |