Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
现在我们有一个场景是
1234567 | 连接
1234568 | 连接
1234569 | 连接
1234566 | 连接
而元素列表如下: "12345.." 和 "connect" 全部在同一个层级,没有对应的关系
我无法直通过左边的数字定位到右边的connect的按键,因此加了这三个接口,用于方便直接获取某个元素的上一个和下一个兄弟节点,以及自身所处在的子集中的索引值