code: private static void mergeContinueNumIntoOne(List<Vertex> linkedArray)
      {
          if (linkedArray.size() < 2)
              return;
  
          ListIterator<Vertex> listIterator = linkedArray.listIterator();
          Vertex next = listIterator.next();
          Vertex current = next;
          while (listIterator.hasNext())
          {
              next = listIterator.next();
  //            System.out.println("current:" + current + " next:" + next);
              if ((TextUtility.isAllNum(current.realWord) || TextUtility.isAllChineseNum(current.realWord)) && (TextUtility.isAllNum(next.realWord) || TextUtility.isAllChineseNum(next.realWord)))
              {
                  /////////// 这部分从逻辑上等同于current.realWord = current.realWord + next.realWord;
                  // 但是current指针被几个路径共享，需要备份，不然修改了一处就修改了全局
                  current = Vertex.newNumberInstance(current.realWord + next.realWord);
                  listIterator.previous();
                  listIterator.previous();
                  listIterator.set(current);
                  listIterator.next();
                  listIterator.next();
                  /////////// end 这部分
  //                System.out.println("before:" + linkedArray);
                  listIterator.remove();
  //                System.out.println("after:" + linkedArray);
              }
              else
              {
                  current = next;
              }
          }
  
  //        logger.trace("数字识别后：" + Graph.parseResult(linkedArray));
      }
docs: 将连续的数字节点合并为一个
  
  @param linkedArray