单词 | accessors | ||||||||||||
释义 | accessors
更多释义 收起释义 例句释义: 访问函数,持久化字段声明访问器,存取器 1. As you can see, JavaBeans-style properties are reduced down to straight name accessors, as if they were fields. 您可以看到,JavaBeans样式的属性被简化为使用名称直接访问,这就好像它们是字段一样。 www.ibm.com 2. Accessor methods come in two flavors: setters and getters (sometimes referred to as mutators and accessors, respectively). 访问器方法涉及两种方法:setters和getters(有时分别称为mutators和accessors)。 www.ibm.com 3. Properties and indexers of a class can define extra accessors for a property or indexer defined on an interface. 属性和索引器的类可以定义额外的属性或索引器在接口上定义的访问器。 technet.microsoft.com 4. 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并非设计用来进行交互测试。 www.ibm.com 5. Properties and indexers on a class can define extra accessors for a property or indexer defined on an interface. 类的属性和索引器可以为接口上定义的属性或索引器定义额外的访问器。 technet.microsoft.com 6. JavaBeans, as you probably know, are Java classes that contain a series of private properties and publicly available accessors and mutators. 您也许知道,JavaBeans是包含一系列私有属性以及公共访问器和转变器的Java类。 www.ibm.com 7. Let's say that as a user of the Widget class, you don't know whether the accessors have value or reference semantics. 假设您是Widget类的一个使用者,您并不知道存取器具有值语义还是引用语义。 www.ibm.com 8. Accessors come in two flavors: setters, which modify the value of a field, and getters, which obtain its value. 有两种访问方法:setter,用于修改字段值;以及getter,用于获取字段值。 www.ibm.com 9. Dsun. reflect. noInflation=true disables inflation entirely but, counterintuitively, causes bytecode accessors to be used for everything. noInflation=true会完全禁用扩展,但它会造成字节码存取器滥用。 www.ibm.com 10. Accessors are used to retrieve the properties of an object or the elements of a collection . 存取器用来检索对象的特性或集合的元素。 www.bing.com 1. Because accessors are simply Java member functions, it is therefore important that you choose the visibility of your accessors wisely. 因为读写方法是简单的Java成员函数,所以明智地选择读写方法的可视性是很重要的。 www.ibm.com 2. Event accessors are methods you define to allow event delegate instances to be added or removed from the storage data structure. 事件访问器是您定义的方法,用以允许事件委托实例添加到存储数据结构或从存储数据结构移除。 technet.microsoft.com 3. Thus, the purpose of the accessors is to indicate whether the property is read-write, read-only, or write-only. 因此,访问器的用途是指示属性是否为读写、只读或只写。 technet.microsoft.com 4. It has fields corresponding to the database columns and the usual accessors (getters and setters) for each field. 它有与数据库列对应的字段及用于每个字段的常用存取器(getter和setter)。 www.ibm.com 5. Models should be relatively cheap to instantiate, with shallow accessors provided for any data used by the view. 模型应该易于实例化,并为视图使用的任何数据提供基本的访问方法。 www.ibm.com 6. It contains accessors for properties and a validation method. 它包含属性访问程序和一个验证方法。 www.ibm.com 7. The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection. 事件属性访问器使用事件属性的预定义键在委托集合中添加和从委托集合中移除实例。 technet.microsoft.com 8. You do not typically need to provide your own custom event accessors. 通常不需要提供自己的自定义事件访问器。 technet.microsoft.com 9. Properties with these illegal accessors tend to be ignored when mapping a bean to WSDL. 在将一个Bean映射到WSDL时,带有这些非法访问器的属性往往被忽略。 www.ibm.com 10. Like the boolean getProperty, non-camelcase accessors are not legal and are not recognized as accessors. 同布尔型getProperty一样,非camelcase访问器是不合法的,并且不能作为访问器被识别。 www.ibm.com 1. Another (much misunderstood) setting also affects the reflection accessors. 另一种(极易造成误解的)设置也会影响反射存取器。 www.ibm.com 2. 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。 www.ibm.com 3. Because creating the bytecode accessors is quite slow, the Java runtime can cache these accessors for later use. 由于创建字节码访问程序相当慢,因此Java运行时可以缓存这些访问程序供稍后使用。 www.ibm.com 4. At its bare minimum you can write pure Ruby classes with attribute accessors and create the usual Hibernate mapping files by hand. 在最简单的情况下,你可以编写只带属性访问器的纯粹Ruby类,然后手动创建出常见的Hibernate映射文件。 www.infoq.com 5. Event properties consist of event declarations accompanied by event accessors. 事件属性由带事件访问器的事件声明组成。 technet.microsoft.com 6. As accessors can be overloaded, the string and integer versions can co-exist. 由于访问器可被重载,字符串和整数版本可以共存。 technet.microsoft.com 7. These properties will be the public accessors for the style properties. 这些属性将会是样式属性的公用存取子。 technet.microsoft.com 8. The accessors read directly from, or write to, the respective positions in the state document model. 访问器直接对状态文档模型中的各个位置进行读写。 www.ibm.com 9. After the fields and their accessors are declared, the methods of the Employee class come next. 字段及其访问器声明之后,下面出现的是Employee类的方法。 www.ibm.com 10. A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors. 衍生自抽象类别的非抽象类别必须包含所有继承抽象方法和存取子的实作。 technet.microsoft.com 1. Accessors (member functions that directly manipulate the value of fields) were introduced in "Accessors increase robustness of Java code. " “AccessorsincreaserobustnessofJavacode”中引入了访问(读写)方法(直接操纵字段值的成员函数)。 www.ibm.com 2. The control data accessors used in the methods are defined in next step. 这些方法中使用的控制数据访问器在下一步中定义。 www.ibm.com 3. A class, even though you have to do all the work writing in the member variables and accessors, is explicit. 而使用类的话——即使你不得不重写所有成员变量及其访问函数——一切就变得明确起来。 dongxi.net 4. You then use standard accessors to "inject" references to the objects your classes depend on. 然后用标准访问器将引用“注入”到类所依赖的对象中。 www.ibm.com 5. As with accessors, the specified callbacks are invoked whenever a property is accessed. 像访问器一样,当一个属性被访问时指定的回调函数就会被激活。 blog.sina.com.cn 6. 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。 www.ibm.com 7. You can create the class quickly by using Eclipse's features for creating accessors and constructors from fields. 您可以通过使用Eclipse的从字段创建存取器(accessor)和构造函数的特性来创建这些类。 www.ibm.com 8. ActiveRecord dynamically creates accessors based on the column names of the database table that it is mapped to. ActiveRecord根据映射的数据库表的列名动态创建访问器。 www.ibm.com 9. Next we switch back to the physical level and take a closer look at accessors. 下面我们回到物理层来仔细看看访问器。 www.infoq.com 10. Otherwise, you can call various accessors of Benchmark to generate a custom report. 除此之外,还可以调用Benchmark的各种访问函数来生成定制的报告。 www.ibm.com 1. Accessors and interceptors are discussed later in this document. 访问器和拦截器将在本文档的后面讨论。 blog.sina.com.cn 2. As we have seen, accessors are endpoints that return resource representations. 正如我们所知,访问器是返回资源表示的端点。 www.infoq.com 3. You should try to make accessors private if subclasses don't need access to the attribute. 如果子类不需要访问其属性,那应该使读写方法私有。 www.ibm.com 4. Fields should never be accessed directly; instead, accessors should be used. 决不应该直接访问字段;而应该使用访问器。 www.ibm.com 5. In the bad code example in Listing 1, the fields of the Person object are exposed directly as public fields instead of with accessors. 在清单1的坏代码示例中,Person对象的字段被直接公开为公共字段而非使用访问方法。 www.ibm.com 6. You must implement all methods, supply any and all property accessors and indexers , and define all events defined in the interface. 你必须实现所有方法,支持所有任何属性访问和索引器,定义在接口里面定义的事件。 dictsearch.appspot.com 7. Set the accessors stereotype property to true, thereby indicating that add and remove accessors will be specified. 将accessors原型属性设置为true,从而说明将指定add和removeaccessors。 www.ibm.com 8. Figure 4 shows some important accessors; it omits the corresponding accessor factories. 图4显示了一些重要的访问器;其中省略了对应的访问器工厂。 www.ibm.com 9. This structure is useful, because it permits an object to have method-like accessors for hash keys (an open object). 这种结构很有用,因为它允许对象拥有类似方法的散列键访问符(开放对象)。 www.ibm.com 10. You declare a custom event and its accessors using the new Custom keyword. 你可以利用这个新的Custom关键字来定义一个自定义事件以及它的访问修饰符。 www.wangchao.net.cn 1. This way these generic accessors can be used on any number of wrapped point objects. 这样的话,这些通用的访问器可以用在任意数量的包装的point对象上。 blog.sina.com.cn 2. The accessors stereotype property is set to true if the event has its accessors (add or remove); otherwise, it is set to false. 如果事件有它的存取器(add或remove)的话,将accessors原型属性设置为true,否则将其设置为false。 www.ibm.com 3. It sets up two accessors: accessor 0 contains only the primary key column (ID) and accessor 1 contains other columns. 它会设定两个存取子:只包含主索引键资料行(ID)的存取子0以及包含其他资料行的存取子1。 technet.microsoft.com 4. Set the property accessors in the stereotype to read-only (see Figure 4). 将原型的accessors属性设置为read-only(参见图4)。 www.ibm.com 5. My experience is that you should always strive to make accessors protected, so only subclasses can access the attributes. 我的经验是应该总是使读写方法受保护,所以只有子类可以访问其属性。 www.ibm.com 6. In the Choose new accessors dialog, also click Next. 在Choosenewaccessors对话框中,也单击Next。 www.ibm.com 7. If you set the inflationThreshold to 0 or less, then the accessors will never be inflated. 如果您将inflationThreshold设置为0或更小的值,则存取器将永远不会扩展。 www.ibm.com 8. When the C# property has both get and set accessors, the read & write value should be used. 当C#属性有get和set存取器时,应该使用read&write值。 www.ibm.com 9. There are several X509 certificate property accessors on the X509Certificate class. 在X509Certificate类中有一些X509证书属性访问器。 www.ibm.com 10. In fact, the use of accessors is a practice that is enforced in Enterprise JavaBean (EJB) 2. 0 environments for all persistent fields. 实际上,访问器的使用是EnterpriseJavaBean(EJB)2.0环境中对所有持久字段强制执行的一种手段。 www.ibm.com 1. This is the most common use of multiple accessors; 这是多个访问器的最常见用法; technet.microsoft.com |
||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。