i have a class called ScheduleTime.
public class ScheduleTime {
    String date;
    Integer hours;
    Integer minutes;
}
now i have two ArrayList one is called timeSlots and another is called bookingArray both are of type ScheduleTime .. with some items in them.
Now i want to delete all the elements in timeSlots which are the same as elements of bookingArray
I have tried this
 timeSlots.removeAll(bookingArray);
But still timeSlots remain the same i don't know why
