enum

enum

 英

  • 网络枚举;枚举类型;列举

例句

Being able to run through the values of an enum is nice, but even more important is the ability to make decisions based on an enum's values.

能够枚举之间移动但是重要根据枚举进行决策

Just as with any constant, all references to the individual values of an enum are converted to numeric literals at compile time.

任何常量一样枚举各个所有引用编译转换数值文本

It shows up in the WSDL file as an enumeration element, and the value restrictions specified by your Enum list in step 4 apply.

WSDL文件显示枚举元素,第4枚举列表指定限制将应用

This creates the Java class with the customized types and a type safe enum Java class, as shown in Listing 7.

创建包含定制类型Java类型安全enumJava清单7。

A Java enum is an arbitrary set of values that are stored in a specific order.

Javaenum按照特定顺序保存随意集合

It returns one of the FileVisitResult's enum values to tell the file visitor API what to do next.

返回一个FileVisitResult枚举告诉文件访问程序API下一步什么

Code that attempts to use enumerations will fail with a NoClassDefFoundError looking for the java. lang. Enum base class.

尝试使用枚举代码失败寻找java.lang.Enum出现NoClassDefFoundError

ENUM is introduced as the addressing technology between the telephone network and the Internet.

ENUM就是作为电信互联网寻址技术出现

Enum, Class, and Collections are additional built-in types we've added -- look for some of these in Java EE 6.

枚举集合我们增加额外类型——我们期待JavaEE6具备这样类型

Creating EAz using Enums and EnumSets in lieu of custom bit vectors turned out to be quite straightforward.

事实证明使用EnumEnumSet代替定义向量创建EAz非常简单

And, thanks to conversion methods declared on the enum, it's even trivial to convert HOURS back to MILLISECONDS when time speeds up.

同时因为列举声明转换方法时间加快HOURS转换MILLISECONDS甚至变得容易

Similarly, you can turn the XSD enumerations into type safe Java enum types, as shown in Listing 6.

同样可以XSD枚举转换类型安全Javaenum类型清单6。

The ENUM search subsystem provides the communication interface for users and completes the analysis and inquiry of ENUM service.

其中ENUM查询子系统用户提供通信入口完成ENUM服务解析查询

The pre-study on standards of NGN and ENUM had been started and had made certain progress.

关于NGN以及ENUM标准工作已经启动已经取得一定进展

The Java language lacks a native Range type, but it does offer a similar concept in the form of enums.

Java语言缺乏Range类型但是提供一个类似概念采取enum形式

The enum constants in AllActions are effectively the names of a configured application's commands.

AllActionsEnum常量相当于配置应用程序命令名称

Second, on the basis of analysis of ENUM server structure and all subsystems, each subsystem is designed and implemented in details.

第二ENUM服务器体系结构子系统分析基础分别子系统进行详细设计实现

For properties of type string, an optional Enum definition has been added. Property values will be validated against the Enum.

字符串属性增加一个枚举类型定义枚举属性验证

This includes the conversion of COM enum arguments to Java int variables and the default values for what were optional arguments in COM.

包括COMenum参数Javaint变量转化以及那些COM可选参数缺省

EAz is an Enum-based authorization extension for Java EE authorization.

EAzJavaEE授权基于Enum授权扩展

The MySQL database supports ENUM string enumerated data types which the DB2 database product does not directly support.

MySQL数据库支持DB2数据库产品直接支持ENUM字符串枚举数据类型

The enum constants in AllPermissions represent the unary permissions that actually control authorization.

AllPermissionsEnum常量表示实际控制授权权限

It also generates Java units containing module constants and enum literals defined in the type library.

生成Java单元里面包含类型定义模块常量枚举标量

com. sosnoski. dwct. Primitive is an enum class for the Java language primitive types.

Primitive一个针对Java语言原语类型enum

Hence, at the byte code level, there is no connection between Scala enumerations and the enum constructs in Java and C#.

因此字节层次Scala枚举Java,C#构造枚举没有任何联系

Or, does that make more sense in a class that has a variable of enum type Size?

或者一个拥有枚举类型Size变量这些意义吗?

Then you use string matching to map the user agent string to an Enum called Agents.

然后使用字符串机器这个用户代理字符串映射一个AgentsEnum

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.

不必构造函数使用限制间接Enum构造函数调用

Returns the target device's CPU Family as an enum.

枚举返回目标设备CPU语系

Enum also picked up a HasFlag method to make reading flags easier.

Enum实现HasFlag方法使大家读取标志容易

Begin by declaring all the permissions in your application in the static AllPermissions enum.

首先静态AllPermissionsenum声明应用程序所有权限

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开发人员实现EnumEnumSet映射有效二进实体

In the dialog that appears, choose Enum as the type.

出现对话选择Enum作为类型

In particular, when facet. method=enum, a filterCache entry is added for each term tested.

特别是TermEnum方法使用一个filterCache每个测试补充说

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技术下一代网络范畴一种寻址方式可以实现电信互联网融合

Select the access level of the enum from the Access drop-down list.

访问列表选择枚举访问级别

EAz sample code is available showing how to translate database strings to and from EAz enum format.

EAz示例代码可用显示数据库字符串格式EAzEnum格式之间如何相互转换