enums

enums

 英

  • 网络枚举;枚举类型;传递枚举类型

例句

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

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

Some other features that are not making it to this release are support for stored procedures, type-conversions, enums and bulk updates.

这次发布其他一些特性没有达到预定目标存储过程类型转换枚举数据更新支持

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

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

Apart from the Java 5 features that brought annotations, generics and enums into Groovy, a new operator finds its way into the language: ?

Java5特性除了Groovy注解枚举增加一个操作符——?

If you need a quick tutorial on enums, generics, anonymous classes, and other useful features, you'll want to read this chapter.

如果需要关于枚举属性隐藏种类其他一些特点快速指南可以阅读

Icons identify hierarchical structures employed within your projects, such as namespaces, types, interfaces, enums, and classes.

图示识别专案采用阶层式结构例如命名空间介面列举类别

All the classes, struct, enums (and so on) under this stereotyped UML package will be generated within this namespace in the generated code.

这个stereotypedUML有的结构枚举以及其它生成代码之后包括这个名字空间

Discusses changes in the declaration and behavior of enums.

讨论枚举声明行为更改

Let's see how annotations, enums and generics can be used from Groovy.

我们看看Groovy如何使用注解枚举泛型

For enums, the default value is the first value listed in the enum's type definition.

枚举来说默认枚举类型定义第一个

For more information on enums, see enum class.

有关枚举更多信息请参见枚举

But of course, static imports aren't only available for enums, but also work for other classes and static fields.

当然静态导入不仅仅枚举有效其他静态成员变量同样有效

You can use the default statement with enums and switches, just as you would expect. Listing 7 illustrates this usage

正如期待使用枚举switch可以使用default语句

Since both enums are static, their members can be referred to directly from anywhere in an application, for example as

由于enum静态因此成员可以应用程序任何位置直接引用例如

热门查询