9- The Comparator Interface

3:51 2 发言者 1 章次 章 次 99 分部分会议

章次 章 次

  1. 0:03

    So you have learned how to sort objects by implementing the comparable interface. Now, this implementation is not very flexible because it's always comparing customers by their name. What if tomorrow we introduce new fields like email, addr…