You implement a ReminderWorker similar to the one in the Lab…
You implement a ReminderWorker similar to the one in the Lab07 Notes App. Inside the worker, you store all upcoming reminders in a TreeMap, where each TreeNode contains remindTime and noteId. The worker checks the smallest key every second and posts a notification when its remindTime has passed. What is the main purpose of this design?