fixed error in testLoad() by casting
fixed couldn't find method error by casting itr.next() to type MeetingImpl
fixed couldn't find method error by casting itr.next() to type MeetingImpl
fixed couldn't find method errors by casting itr.next() to type MeetingImpl
implemented method getMeeting() in MeetingImpl to avoid code repetition in getFutureMeeting() and getPastMeeting() in ContactManagerImpl
added description of param
removed unreachable returns
added return in case for loop couldn't be entered
removed unnecessary casting, as i will be casting the return value i ContactManagerImpl
removed unnecessary casting comments, as i will be casting the return value i ContactManagerImpl
saved some room with comments
changed boolean flag to char flag, and added else if clause to deal with 3rd case scenario - i.e. getMeeting() is called, which doesn't care about Past or Future-ness of meetings
rewritten get meeting methods to use one method in MeetingImpl, to not repeat code
added some comments