• You don't define a member variable and then provide accessor and mutator methods.

    定义数据成员后不需要分别定义访问修改方法

    youdao

  • The example above uses the attr() function, which is an accessor and mutator for the attributes of an element.

    上面例子使用attr()函数一个元素中的属性 accessormutator

    youdao

  • To remedy the previously mentioned anti-pattern, you can "hide the exposed instance variables and provide publicly exposed mutator and accessor methods as appropriate to access the object state."

    补救前面提到反模式可以隐藏暴露实例变量并且提供公开暴露的增变方法访问方法适用访问对象状态”。

    youdao

  • Each property has an accessor and a mutator (getter and setter).

    每个属性具有一个accessormutator (gettersetter)。

    youdao

  • Each property has an accessor and a mutator (getter and setter).

    每个属性具有一个accessormutator (gettersetter)。

    youdao

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

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

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