查询
1 词典释义:
getters
时间: 2025-11-03 06:43:53
英 ['ɡetəz]
美 ['ɡetəz]

n. 获得者;吸收剂;(getter的复数)

双语例句
  • I think those bright pieces of paper would be real attention getters.

    我认为那些闪亮的纸片真的可以吸引人们的注意力。

  • Expect an abundance of getters.

    预计有大量的getter。

  • Considering getters and setters.

    关于getter和setter。

  • (Note that I've omitted getters and setters.)

    (注意,我删除了其中的getters和setters。)

  • Employers are always impressed by go-getters.

    雇主总是对负有进取心的人印象深刻。

  • Listing 1. Code to generate getters automatically.

    列表1 .自动生getter的代码。

  • An advanced use of getters is to obtain the values of constants.

    getter的一种高级用法是获取常数值。

  • Listing 3. Value and reference semantics for getters and setters.

    清单3 . getters和setters的值语义以及引用语义。

  • There are additional array attributes (not just getters and setters).

    出现了附加的数组属性(不再只有getter和setter)。

  • Set all of the system properties on Content (getters on the Result).

    在Content上设置所有系统属性(Result上的getter)。

  • Those getters and setters should be modified for your own implementation.

    您应该为自己的实现修改那些getter和setter。

  • The view can access the model getters, but it has no knowledge of the setters.

    视图可以访问模型的读方法,但不能访问写方法。

  • From here, you would probably add getters and setters for each of those properties.

    从这里,可以为每个属性添加getters和setters。

  • Most of this is just boilerplate code: several fields with getters and setters.

    这段代码的大部分都是样本文件代码:几个字段和一些 getter 和 setter 方法。

  • It's not hard to write tests that cover simple methods like setters and getters.

    编写覆盖像setter和getter这样简单方法的测试代码并不难。

  • It also generates getters for the attributes defined - in this case, uom and amount.

    它还为定义的属性(在这里就是uom和amount)生成getter方法。

  • As with "regular" descriptors, the idea is to define "getters," "setters," and "deleters".

    与 “常规” 描述符一样,特性的工作原理就是定义 “getters”、“setters” 和 “deleters”。

  • Notice that the action taken by both of the getters depends on whether the list is empty.

    注意,两个读取器采取的行动依赖于是否链表为空。

  • Each data object provides read and write access methods (getters and setters) for its properties.

    每个数据对象都为属性提供了访问和设置方法(getter和setter)。

  • You can then use simple getters and setters to retrieve the values of the child elements in the XML.

    您可以使用简单的 getter 和 setter 检索 XML 中子元素的值。

  • As teach First becomes better known, teaching will start to be seen as a job for ambitious go-getters.

    “教育优先”出名了,教书开始被视为一项有志者的工作。

  • The result is a greatly simplified API, with the collapsing of the many type-specific getters/setters.

    结果是通过压缩许多特定于类型的 getter/setter,大大简化了 API。

  • In particular, it is not very Pythonic to access data using getters and setters, or other similar methods.

    具体地说,使用getter和setter或其他类似的方法来访问数据不太符合Python的习惯。

  • Create getters and setters for the four fields by following the method shown in Listing 1 for the symbol field.

    按照清单1中显示的用于symbol字段的方法为以上4个字段创建getter和setter。

  • Figure 7 shows a Velocity template that is used to generate the getters for all the fields defined on an entity.

    图7展示了用于生成获得实体中定义的所有字段的getter的Velocity模板。

  • It has fields corresponding to the database columns and the usual accessors (getters and setters) for each field.

    它有与数据库列对应的字段及用于每个字段的常用存取器(getter和setter)。

  • ConfigGetter inherits from ConfigAccessorMethod, shown in Listing 18, which provides support for setters and getters.

    如清单18所示,ConfigGetter继承ConfigAccessorMethod,提供对setter和getter的支持。

  • Accessor methods come in two flavors: setters and getters (sometimes referred to as mutators and accessors, respectively).

    访问器方法涉及两种方法:setters和getters(有时分别称为mutators和accessors)。

  • The properties that are getters, not Fields, all have to be queried for in some special way from the OmniFind repository.

    对于属于getter而不是Field的属性,必须能够以某种特殊方式从OmniFind存储库进行查询。

  • Note that this is only a partial listing of the class; some helper methods and the getters and setters have been omitted.

    注意,这个清单仅是该类的一部分;省略了一些helper、getter和setter函数。