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