accessors
美
英 
例句
As you can see, JavaBeans-style properties are reduced down to straight name accessors, as if they were fields.
您可以看到,JavaBeans样式的属性被简化为使用名称直接访问,这就好像它们是字段一样。
Accessor methods come in two flavors: setters and getters (sometimes referred to as mutators and accessors, respectively).
访问器方法涉及两种方法:setters和getters(有时分别称为mutators和accessors)。
Properties and indexers of a class can define extra accessors for a property or indexer defined on an interface.
属性和索引器的类可以定义额外的属性或索引器在接口上定义的访问器。
I'm hoping to limit my use of the accessors because, as I've already mentioned, the GWT isn't meant to be used for interaction testing.
我现在希望限制使用访问器,如我已经指出的,这是因为GWT并非设计用来进行交互测试。
Properties and indexers on a class can define extra accessors for a property or indexer defined on an interface.
类的属性和索引器可以为接口上定义的属性或索引器定义额外的访问器。
JavaBeans, as you probably know, are Java classes that contain a series of private properties and publicly available accessors and mutators.
您也许知道,JavaBeans是包含一系列私有属性以及公共访问器和转变器的Java类。
Let's say that as a user of the Widget class, you don't know whether the accessors have value or reference semantics.
假设您是Widget类的一个使用者,您并不知道存取器具有值语义还是引用语义。
Accessors come in two flavors: setters, which modify the value of a field, and getters, which obtain its value.
有两种访问方法:setter,用于修改字段值;以及getter,用于获取字段值。
Dsun. reflect. noInflation=true disables inflation entirely but, counterintuitively, causes bytecode accessors to be used for everything.
noInflation=true会完全禁用扩展,但它会造成字节码存取器滥用。
Accessors are used to retrieve the properties of an object or the elements of a collection .
存取器用来检索对象的特性或集合的元素。
Because accessors are simply Java member functions, it is therefore important that you choose the visibility of your accessors wisely.
因为读写方法是简单的Java成员函数,所以明智地选择读写方法的可视性是很重要的。
Event accessors are methods you define to allow event delegate instances to be added or removed from the storage data structure.
事件访问器是您定义的方法,用以允许事件委托实例添加到存储数据结构或从存储数据结构移除。
Thus, the purpose of the accessors is to indicate whether the property is read-write, read-only, or write-only.
因此,访问器的用途是指示属性是否为读写、只读或只写。
It has fields corresponding to the database columns and the usual accessors (getters and setters) for each field.
它有与数据库列对应的字段及用于每个字段的常用存取器(getter和setter)。
Models should be relatively cheap to instantiate, with shallow accessors provided for any data used by the view.
模型应该易于实例化,并为视图使用的任何数据提供基本的访问方法。
It contains accessors for properties and a validation method.
它包含属性访问程序和一个验证方法。
The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.
事件属性访问器使用事件属性的预定义键在委托集合中添加和从委托集合中移除实例。
You do not typically need to provide your own custom event accessors.
通常不需要提供自己的自定义事件访问器。
Properties with these illegal accessors tend to be ignored when mapping a bean to WSDL.
在将一个Bean映射到WSDL时,带有这些非法访问器的属性往往被忽略。
Like the boolean getProperty, non-camelcase accessors are not legal and are not recognized as accessors.
同布尔型getProperty一样,非camelcase访问器是不合法的,并且不能作为访问器被识别。
Another (much misunderstood) setting also affects the reflection accessors.
另一种(极易造成误解的)设置也会影响反射存取器。
In this bean class most of the methods, other than the EJB call back methods, are accessors and setters for the above properties.
在这个bean类中,大多数方法(EJB回调方法除外)都是上述属性的accessor和setter。
Because creating the bytecode accessors is quite slow, the Java runtime can cache these accessors for later use.
由于创建字节码访问程序相当慢,因此Java运行时可以缓存这些访问程序供稍后使用。
At its bare minimum you can write pure Ruby classes with attribute accessors and create the usual Hibernate mapping files by hand.
在最简单的情况下,你可以编写只带属性访问器的纯粹Ruby类,然后手动创建出常见的Hibernate映射文件。
Event properties consist of event declarations accompanied by event accessors.
事件属性由带事件访问器的事件声明组成。
As accessors can be overloaded, the string and integer versions can co-exist.
由于访问器可被重载,字符串和整数版本可以共存。
These properties will be the public accessors for the style properties.
这些属性将会是样式属性的公用存取子。
The accessors read directly from, or write to, the respective positions in the state document model.
访问器直接对状态文档模型中的各个位置进行读写。
After the fields and their accessors are declared, the methods of the Employee class come next.
字段及其访问器声明之后,下面出现的是Employee类的方法。
A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors.
衍生自抽象类别的非抽象类别必须包含所有继承抽象方法和存取子的实作。
Accessors (member functions that directly manipulate the value of fields) were introduced in "Accessors increase robustness of Java code. "
“AccessorsincreaserobustnessofJavacode”中引入了访问(读写)方法(直接操纵字段值的成员函数)。
The control data accessors used in the methods are defined in next step.
这些方法中使用的控制数据访问器在下一步中定义。
A class, even though you have to do all the work writing in the member variables and accessors, is explicit.
而使用类的话——即使你不得不重写所有成员变量及其访问函数——一切就变得明确起来。
You then use standard accessors to "inject" references to the objects your classes depend on.
然后用标准访问器将引用“注入”到类所依赖的对象中。
As with accessors, the specified callbacks are invoked whenever a property is accessed.
像访问器一样,当一个属性被访问时指定的回调函数就会被激活。
Formally, Scala calls numer and denom methods without parameters, which are used to create a quick-and-easy syntax for defining accessors.
在形式上,Scala调用无参数的numer和denom方法,这种方法用于创建快捷的语法以定义accessor。
You can create the class quickly by using Eclipse's features for creating accessors and constructors from fields.
您可以通过使用Eclipse的从字段创建存取器(accessor)和构造函数的特性来创建这些类。
ActiveRecord dynamically creates accessors based on the column names of the database table that it is mapped to.
ActiveRecord根据映射的数据库表的列名动态创建访问器。
Next we switch back to the physical level and take a closer look at accessors.
下面我们回到物理层来仔细看看访问器。
Otherwise, you can call various accessors of Benchmark to generate a custom report.
除此之外,还可以调用Benchmark的各种访问函数来生成定制的报告。