code: public static <T> Iterator<T> iterator(BlockingQueue<T> queue)
      {
          return iterator(queue, Long.MAX_VALUE, TimeUnit.MILLISECONDS);
      }
docs: Returns Queue as iterator. Calls poll method
  @param <T>
  @param queue
  @return