示例#1
0
 @Override
 public int compareTo(TextLong other) {
   int cmp = first.compareTo(other.getFirst());
   if (0 == cmp) {
     cmp = second.compareTo(other.getSecond());
   }
   return cmp;
 }
示例#2
0
 public int baseCompareTo(TextLong other) {
   int cmp = first.compareTo(other.getFirst());
   return cmp;
 }