Feat(main): Create profile\

This commit is contained in:
minhtrannhat 2023-11-05 14:31:23 -05:00
parent 6b11635544
commit e4fed111a0
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062

View File

@ -0,0 +1,10 @@
package com.example.coen390_assignment2.Models;
import java.util.Comparator;
public class StudentProfileSurnameComparator implements Comparator<StudentProfile> {
@Override
public int compare(StudentProfile profile1, StudentProfile profile2) {
return profile1.getSurname().compareTo(profile2.getSurname());
}
}