Interface AppointmentCompare
public interface AppointmentCompare
Functional interface for appointment comparating functions.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompare(Appointment a1, Appointment a2) Compares two appointments.
-
Method Details
-
compare
Compares two appointments.- Parameters:
a1- First appointment.a2- Second appointment.- Returns:
- Decided comparing based on implementation.
-