📅  最后修改于: 2022-03-11 14:48:17.578000             🧑  作者: Mango
if ( one.length() == 0 ) {
return 1; // empty string sorts last
}
if ( two.length() == 0 ) {
return -1; // empty string sorts last
}
return one.compareToIgnoreCase( two );