setter
setter 英 [ˈsetə(r)] 美 [ˈsɛtɚ]
n. [机] 调节器;作曲者;排字工人;安装员,从事安装的人
名词复数:setters
- 请先登录
- n. [机] 调节器;作曲者;排字工人;安装员,从事安装的人
-
1. Like all the other attribute functions, these have corresponding setter methods as well.
与所有其他的属性函数类似,这些函数也有相应的 setter 方法。
-
2. Dependency injection can occur in a variety of ways, for example, via a setter method or a class variable.
依赖性的引入可以以多种方式出现,例如,通过设置属性值的方法或者类变量。
-
3. In the dialog, enter names for the getter and setter methods -- as you might expect, these are getMake() and setMake() by default.
在弹出的对话框中输入 getter 和 setter 方法的名称——如您所料,缺省的方法名称分别是 getMake() 和 setMake()。
- setter (n.) "one who sets (something)," c. 1400, agent noun from set (v.). As a type of hunting-dog (originally a type of spaniel), 1570s, so called because the dog is "set" on game.
- 请先登录
0 个回复