因?yàn)?/c>在列舉上聲明了轉(zhuǎn)換方法,在時(shí)間加快時(shí),將HOURS轉(zhuǎn)換回MILLISECONDS甚至變得更容易。
Similarly, you can turn the XSD enumerations into type safe Java enum types, as shown in Listing 6.
同樣,可以把XSD枚舉轉(zhuǎn)換為類型安全的Javaenum類型,見清單6。
The ENUM search subsystem provides the communication interface for users and completes the analysis and inquiry of ENUM service.
其中,ENUM查詢子系統(tǒng)為用戶提供通信入口,完成ENUM服務(wù)的解析與查詢。
The pre-study on standards of NGN and ENUM had been started and had made certain progress.
關(guān)于NGN的以及ENUM的標(biāo)準(zhǔn)予研工作已經(jīng)啟動(dòng),并已經(jīng)取得了一定的進(jìn)展。
The Java language lacks a native Range type, but it does offer a similar concept in the form of enums.
Java語言缺乏原生的Range類型,但是提供了一個(gè)類似地概念,采取enum的形式。
The enum constants in AllActions are effectively the names of a configured application's commands.
AllActions中的Enum常量相當(dāng)于配置的應(yīng)用程序命令的名稱。
Second, on the basis of analysis of ENUM server structure and all subsystems, each subsystem is designed and implemented in details.
第二,在對(duì)ENUM服務(wù)器體系結(jié)構(gòu)及各子系統(tǒng)分析的基礎(chǔ)上,分別對(duì)各子系統(tǒng)進(jìn)行了詳細(xì)的設(shè)計(jì)與實(shí)現(xiàn)。
For properties of type string, an optional Enum definition has been added. Property values will be validated against the Enum.
對(duì)字符串的屬性,增加了一個(gè)可選的枚舉類型定義,枚舉的屬性值將被驗(yàn)證。
This includes the conversion of COM enum arguments to Java int variables and the default values for what were optional arguments in COM.
這包括從COMenum參數(shù)到Javaint變量的轉(zhuǎn)化,以及那些在COM中的可選參數(shù)的缺省值。
EAz is an Enum-based authorization extension for Java EE authorization.
EAz是JavaEE授權(quán)的基于Enum的授權(quán)擴(kuò)展。
The MySQL database supports ENUM string enumerated data types which the DB2 database product does not directly support.
MySQL數(shù)據(jù)庫支持DB2數(shù)據(jù)庫產(chǎn)品不直接支持的ENUM字符串枚舉數(shù)據(jù)類型。
The enum constants in AllPermissions represent the unary permissions that actually control authorization.
AllPermissions中的Enum常量表示實(shí)際控制授權(quán)的一元權(quán)限。
It also generates Java units containing module constants and enum literals defined in the type library.
它還生成Java單元,里面包含類型庫中定義的模塊常量和枚舉標(biāo)量。
com. sosnoski. dwct. Primitive is an enum class for the Java language primitive types.
Primitive是一個(gè)針對(duì)Java語言原語類型的enum類。
Hence, at the byte code level, there is no connection between Scala enumerations and the enum constructs in Java and C#.
因此,在字節(jié)碼的層次,Scala枚舉和Java,C#中構(gòu)造的枚舉沒有任何聯(lián)系。
Or, does that make more sense in a class that has a variable of enum type Size?
或者說,在一個(gè)擁有枚舉類型Size變量的類中做這些更有意義嗎?
Then you use string matching to map the user agent string to an Enum called Agents.
然后,您使用字符串機(jī)器將這個(gè)用戶代理字符串映射到一個(gè)名為Agents的Enum。
Some methods look familiar while others are specific to the Enum class.
一些方法看起來很熟悉,而其他一些方法則是特定于Enum類的。
You don't have to limit the use of constructors to indirect Enum constructor calls.
不必將構(gòu)造函數(shù)的使用限制為間接Enum構(gòu)造函數(shù)調(diào)用。
Returns the target device's CPU Family as an enum.
以枚舉型式返回目標(biāo)設(shè)備的CPU語系。
Enum also picked up a HasFlag method to make reading flags easier.
Enum也實(shí)現(xiàn)了HasFlag方法使大家讀取標(biāo)志更容易。
Begin by declaring all the permissions in your application in the static AllPermissions enum.
首先,在靜態(tài)AllPermissionsenum中聲明應(yīng)用程序中的所有權(quán)限。
The LotteryFactory has an enum of the different types of lotteries.
LotteryFactory有彩票的各種枚舉類型。
In the process, the developers of Java 5 implemented the Enum and EnumSet and map as an efficient binary entity.
在此過程中,Java5的開發(fā)人員實(shí)現(xiàn)了Enum和EnumSet,并將其映射為有效的二進(jìn)制實(shí)體。
In the dialog that appears, choose Enum as the type.
在出現(xiàn)的對(duì)話框中,選擇Enum作為類型。
In particular, when facet. method=enum, a filterCache entry is added for each term tested.
特別是,當(dāng)TermEnum方法是使用一個(gè)filterCache項(xiàng)為每個(gè)測(cè)試項(xiàng)補(bǔ)充說。
Avoid specifying a type for an enum.
避免使用指定類型的枚舉類型。
ENUM is a new routing manner in the NGN, it can achieve the convergence between the PSTN arid the Internet.
ENUM技術(shù)是下一代網(wǎng)絡(luò)范疇內(nèi)的一種新的尋址方式,可以很好地實(shí)現(xiàn)電信網(wǎng)和互聯(lián)網(wǎng)的融合。
Select the access level of the enum from the Access drop-down list.
從“訪問”下拉列表中選擇枚舉的訪問級(jí)別。
EAz sample code is available showing how to translate database strings to and from EAz enum format.
EAz示例代碼可用來顯示數(shù)據(jù)庫字符串格式和EAzEnum格式之間如何相互轉(zhuǎn)換。