enums
美
英 
例句
Creating EAz using Enums and EnumSets in lieu of custom bit vectors turned out to be quite straightforward.
事實證明,使用Enum和EnumSet代替自定義位向量來創建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都是靜態的,因此其成員可以從應用程序中的任何位置直接引用,例如