public int compareTo(Object otherObject)
{
Employee other = (Employee) otherObject; 
if (salary < other.salary)
return -1;
if (salary > other.salary)
return  1;
return 0;
}