• The visitor pattern is illustrated in Figure 2.

    访问器模式如图 2 所示。

    youdao

  • How to handle collections with the Visitor pattern?

    如何访问者模式处理收藏

    youdao

  • To process the resources, the builder uses the visitor pattern.

    为了处理资源构造使用访问器模式。

    youdao

  • Thus, in Jam, the visitor pattern can't be used with mixins.

    因此Jam 中访问者模式不能mixin 一起使用

    youdao

  • The question is, can we implement the Visitor pattern without recursion?

    问题在于,我们能否在不使用递归的前提下实现访问者模式

    youdao

  • Another aspect of the Visitor pattern not closely examined here is iteration order.

    就访问者模式而言,本文加详述一各方面就是迭代顺序

    youdao

  • The visitor pattern is a simple technique to process arbitrary data structures.

    访问者模式一种处理任意数据结构简单技术

    youdao

  • Implements the visitor pattern for expressions that do not produce a result value.

    实现生成结果表达式访问者模式

    youdao

  • All bytecode scanning detectors are based on the visitor pattern, which FindBugs implements.

    所有字节码扫描检测器基于visitor模式FindBugs实现了这个模式

    youdao

  • This serves as a useful base case, similar to a base Visitor class in the classic Visitor pattern.

    作为一种有用的基本用例类似经典访问者模式中的基本Visitor

    youdao

  • In each case, I've found that the Visitor pattern is a reliable tool for manipulating trees of data.

    无论使用哪种语言,访问者模式操作树形数据一种可靠工具

    youdao

  • Curried closures can be used to mimic the essential elements of the Visitor pattern, as we showed in the Library example.

    Curry闭包可以用来模拟Visitor模式基本元素正如Library例子中显示

    youdao

  • The Visitor pattern creates a scenario where adding operations (new visitors) over the set of existing data types is easy.

    访问者模式将创建一个场景,简化现有数据类型集合添加操作访问者过程。

    youdao

  • Consider the visitor pattern in which a visitor class is defined with a for method for each class in a composite hierarchy.

    请考虑访问者模式其中for方法复合层次结构中的每个定义了访问者类。

    youdao

  • The visitor pattern implements a walk through a hierarchy in which the visitor specifies an operation to apply to the nodes.

    访问模式实现层次结构历,访问器指定操作应用于每个节点。

    youdao

  • Adding new data types (classes) with visitors is difficult, however, as the visitor pattern requires a visit method for all concrete types.

    然而通过访问者添加数据类型()较为困难,因为访问者模式要求所有具体类型都具有一个visit方法

    youdao

  • The Visitor pattern is often used to separate a data structure (the tree, in this case) from the algorithms that operate over the data structure.

    访问者模式往往用于数据结构()通过数据结构操作算法分离开来。

    youdao

  • Instead the form or structure of the class files are analyzed to determine the program's intent, often using the Visitor pattern (see Resources).

    不是通过分析文件形式结构确定程序意图,而是通常使用Visitor模式(请参阅参考资料)。

    youdao

  • This article has just scratched the surface of using zippers in the Visitor pattern; the point of it is to whet your appetite for further exploration.

    篇文章仅仅是涉及了访问者模式使用zippers一些浅显问题;目的在于激发进一步探索兴趣

    youdao

  • Leveraging Clojure's functional programming tools to implement the Visitor pattern is one way to get around this incidental complexity, while still programming on the JVM.

    利用Clojure函数式编程工具实现访问者模式消除这种附带复杂性一种方法而且仍然JVM上编程。

    youdao

  • Another design pattern that lends itself well to DEBA is the Visitor pattern, which externalizes an operation that will be performed on another object, a group of objects, or a structure of objects.

    另外一种可用于DEBA架构的设计模式Visitor(访问者)模式,操作外部化,可以其他对象对象或者对象结构执行这些操作。

    youdao

  • The Visitor design pattern is used to separate the exception hierarchy from the code that builds the fault details.

    Visitor设计模式用于异常层次构建故障详细信息代码分开

    youdao

  • It is not hard to integrate a pattern-matching library with the tree visitor to get to a point where visitors can leverage tree patterns.

    您可以轻松集成模式匹配访问者,使访问者能够利用模型

    youdao

  • Guan Lingcun to meet its unique pattern of every visitor, I suddenly liked the shelter in the mountains deep in the village.

    官岭村以独特的格局迎接每一个来客一下子就喜欢上这个遮蔽大山深处的村落。

    youdao

  • Guan Lingcun to meet its unique pattern of every visitor, I suddenly liked the shelter in the mountains deep in the village.

    官岭村以独特的格局迎接每一个来客一下子就喜欢上这个遮蔽大山深处的村落。

    youdao

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

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

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