@Override
 public int compareTo(Object obj) {
   return COMPARATOR.compare(this, obj instanceof DateId ? (DateId) obj : null);
 }
Exemple #2
0
 public int compareTo(Member o) {
   return nullSafeStringComparator.compare(this.value, o.value);
 }