Employee function ( ) { return waitingList . peek ( ) ; }
lets you take a look at the next person in line without hiring them . concode_field_sep ArrayPriorityQueue<Employee> waitingList concode_field_sep Employee giveJobToEmployee concode_elem_sep void hireEveryone concode_elem_sep String toString concode_elem_sep void addEmployee concode_elem_sep void addEmployee