code: public List<E> toList()
      {
          ArrayList<E> list = new ArrayList<E>(queue.size());
          while (!queue.isEmpty())
          {
              list.add(0, queue.poll());
          }
  
          return list;
      }
docs: 转为有序列表，自毁性操作
  @return