• 清单展示内部迭代(称为push迭代器,因为每个元素依次代码块中)。

    This listing illustrates an internal iterator (also known as a push iterator because it pushes each element in turn to the code block).

    youdao

  • 但是向后移动复杂些因为迭代器内部执行深度优先算法,预先排好Rope遍历顺序,需要访问每个节点

    But moving backward is more complicated, because internally the iterator performs a depth-first, preorder traversal of the Rope, visiting each of its leaf nodes.

    youdao

  • 迭代模式提供方法顺序访问聚合对象中的各个元素,而又暴露内部表示

    The Iterator Pattern:provides a way to access the elements of an aggregate object sequentially without exposing its underying representation.

    youdao

  • 迭代模式提供方法顺序访问聚合对象中的各个元素,而又暴露内部表示

    The Iterator Pattern:provides a way to access the elements of an aggregate object sequentially without exposing its underying representation.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定