String[] split = line.split(" ");//通过对字符串的切分得到的string类型的数组
Arrays.asList(split).iterator();//通过这个方法可以得到一个迭代器

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-23
  • 2022-03-07
  • 2022-01-10
  • 2022-12-23
  • 2022-03-11
  • 2022-12-23
  • 2021-10-21
相关资源
相似解决方案