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