예제 #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;
 }