国产高清精品免费区-男女一进一出抽搐免费视频-中日韩一二三级黄色永久视频-日韩精品人妻一区二区免费视频-日本久久视频在线观看-99热这里只有精品88热-亚洲韩国黄色最新短视频一区-日韩伦理在线观看免费全集-国产av一区二区三区天堂

accessors

accessors

 英

  • 網(wǎng)絡(luò)訪問函數(shù);持久化字段聲明訪問器;存取器

例句

As you can see, JavaBeans-style properties are reduced down to straight name accessors, as if they were fields.

可以看到JavaBeans樣式屬性簡(jiǎn)化使用名稱直接訪問好像它們字段一樣

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

訪問方法涉及方法settersgetters有時(shí)分別稱為mutatorsaccessors)。

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.

現(xiàn)在希望限制使用訪問已經(jīng)指出因?yàn)?/c>GWT并非設(shè)計(jì)用來進(jìn)行交互測(cè)試

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包含一系列私有屬性以及公共訪問轉(zhuǎn)變Java

Let's say that as a user of the Widget class, you don't know whether the accessors have value or reference semantics.

假設(shè)Widget一個(gè)使用者并不知道存取器具語(yǔ)義引用語(yǔ)義

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會(huì)完全禁用擴(kuò)展會(huì)造成字節(jié)碼存取濫用

Accessors are used to retrieve the properties of an object or the elements of a collection .

存取用來檢索對(duì)象特性集合元素

Because accessors are simply Java member functions, it is therefore important that you choose the visibility of your accessors wisely.

因?yàn)?/c>讀寫方法簡(jiǎn)單Java成員函數(shù)所以明智地選擇讀寫方法可視重要

Event accessors are methods you define to allow event delegate instances to be added or removed from the storage data structure.

事件訪問定義方法用以允許事件委托實(shí)例添加存儲(chǔ)數(shù)據(jù)結(jié)構(gòu)存儲(chǔ)數(shù)據(jù)結(jié)構(gòu)移除

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.

數(shù)據(jù)庫(kù)對(duì)應(yīng)字段用于每個(gè)字段常用存取gettersetter)。

Models should be relatively cheap to instantiate, with shallow accessors provided for any data used by the view.

模型應(yīng)該易于實(shí)例化視圖使用任何數(shù)據(jù)提供基本訪問方法

It contains accessors for properties and a validation method.

包含屬性訪問程序一個(gè)驗(yàn)證方法

The event property accessors use the predefined key for the event property to add and remove instances from the delegate collection.

事件屬性訪問使用事件屬性預(yù)定義委托集合添加委托集合移除實(shí)例

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.

一個(gè)Bean映射WSDL時(shí)帶有這些非法訪問屬性往往忽略

Like the boolean getProperty, non-camelcase accessors are not legal and are not recognized as accessors.

布爾getProperty一樣camelcase訪問合法并且不能作為訪問識(shí)別

Another (much misunderstood) setting also affects the reflection accessors.

一種造成誤解設(shè)置會(huì)影響反射存取

In this bean class most of the methods, other than the EJB call back methods, are accessors and setters for the above properties.

這個(gè)bean大多數(shù)方法EJB回調(diào)方法除外都是上述屬性accessorsetter

Because creating the bytecode accessors is quite slow, the Java runtime can cache these accessors for later use.

由于創(chuàng)建字節(jié)碼訪問程序相當(dāng)因此Java運(yùn)行時(shí)可以緩存這些訪問程序稍后使用

At its bare minimum you can write pure Ruby classes with attribute accessors and create the usual Hibernate mapping files by hand.

簡(jiǎn)單情況可以編寫屬性訪問純粹Ruby然后手動(dòng)創(chuàng)建出常見Hibernate映射文件

Event properties consist of event declarations accompanied by event accessors.

事件屬性事件訪問事件聲明組成

As accessors can be overloaded, the string and integer versions can co-exist.

由于訪問重載字符串整數(shù)版本可以共存

These properties will be the public accessors for the style properties.

這些屬性會(huì)是樣式屬性公用存取

The accessors read directly from, or write to, the respective positions in the state document model.

訪問直接對(duì)狀態(tài)文檔模型各個(gè)位置進(jìn)行讀寫

After the fields and their accessors are declared, the methods of the Employee class come next.

字段及其訪問聲明之后下面出現(xiàn)Employee方法

A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors.

衍生抽象類別抽象類別必須包含所有繼承抽象方法存取實(shí)

Accessors (member functions that directly manipulate the value of fields) were introduced in "Accessors increase robustness of Java code. "

AccessorsincreaserobustnessofJavacode引入訪問讀寫方法直接操縱字段成員函數(shù))。

The control data accessors used in the methods are defined in next step.

這些方法使用控制數(shù)據(jù)訪問下一步定義

A class, even though you have to do all the work writing in the member variables and accessors, is explicit.

使用的話——即使不得不重寫所有成員變量及其訪問函數(shù)——一切變得明確起來

You then use standard accessors to "inject" references to the objects your classes depend on.

然后標(biāo)準(zhǔn)訪問引用注入依賴對(duì)象

As with accessors, the specified callbacks are invoked whenever a property is accessed.

訪問一樣當(dāng)一個(gè)屬性訪問時(shí)指定回調(diào)函數(shù)會(huì)激活

Formally, Scala calls numer and denom methods without parameters, which are used to create a quick-and-easy syntax for defining accessors.

形式上Scala調(diào)用無(wú)參數(shù)numerdenom方法這種方法用于創(chuàng)建快捷語(yǔ)法定義accessor

You can create the class quickly by using Eclipse's features for creating accessors and constructors from fields.

可以通過使用Eclipse字段創(chuàng)建存取accessor構(gòu)造函數(shù)特性創(chuàng)建這些

ActiveRecord dynamically creates accessors based on the column names of the database table that it is mapped to.

ActiveRecord根據(jù)映射數(shù)據(jù)庫(kù)動(dòng)態(tài)創(chuàng)建訪問

Next we switch back to the physical level and take a closer look at accessors.

下面我們回到物理仔細(xì)看看訪問

Otherwise, you can call various accessors of Benchmark to generate a custom report.

除此之外可以調(diào)用Benchmark各種訪問函數(shù)生成定制報(bào)告

熱門查詢