Only reduced code duplication due to using the AbstractQueue