Java remove all next elements from list after specific element

后端 未结 0 1798
自闭症患者
自闭症患者 2021-01-30 18:23

I have such list private List listOfNodes = new ArrayList<>(); which stores all nodes in path from A to B. Let\'s say it contains such elements:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题