code: @Override
      public T remove() {
  
          T retrievedElement = poll();
  
          if (retrievedElement == null) {
              throw new NoSuchElementException();
          }
  
          return retrievedElement;
      }
docs: /*
  @awisniew - ADDED
  
  Same as poll, only throws exception if queue is empty
  
  @see java.util.Queue#remove()