Interface AppointmentCompare


public interface AppointmentCompare
Functional interface for appointment comparating functions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares two appointments.
  • Method Details

    • compare

      boolean compare(Appointment a1, Appointment a2)
      Compares two appointments.
      Parameters:
      a1 - First appointment.
      a2 - Second appointment.
      Returns:
      Decided comparing based on implementation.