コード例 #1
0
 public int compare(CaseResult lhs, CaseResult rhs) {
   return lhs.getAge() - rhs.getAge();
 }
コード例 #2
0
 public int compareTo(CaseResult that) {
   return this.getFullName().compareTo(that.getFullName());
 }