Commit 40f3ebfd authored by Uma Vani Ravuri's avatar Uma Vani Ravuri

Delete EmployeeComparator.java

parent 5aab7f96
package com.java8.practies;
import java.util.Comparator;
public class EmployeeComparator implements Comparator<Employee> {
@Override
public int compare(Employee o1, Employee o2) {
return o1.getFirstName().compareTo(o2.getFirstName());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment