他们是在类,使可用的枚举方法都包含供您使用。
They are in the class so that all of the available enum methods are included for your use.
此外,枚举类型支持拥有构造函数、实例方法和变量,等等。
In addition, enumerated types support having constructors, instance methods, and variables, among other things.
O MGIDL枚举是将名称附加到数字的一种方法,从而读取代码的人就可以了解到更多的含义。
An OMG IDL enumeration is a way of attaching names to Numbers, thereby giving more meaning to anyone reading the code.
XML模式设计者和实现人员需要一种方法来扩展现有的枚举列表。
XML schema designers and implementers need a way to extend existing enumerated lists.
资源适配器可能用这个方法检查算术属性是否在可以接受的范围之内,或者确保表示枚举值的字符串有效。
The resource adapter might use this method to check that numeric properties are within the acceptable range or to ensure that a string property representing a value from an enumeration is valid.
第二个方法传递可枚举对象以填充各行的字段。
The second method is passed the enumerated objects to populate the fields of each row.
“这方面的例证不胜枚举,即便在生殖生物学里,自然方法也未必是最优和最有效的。”这就是报告的结论。
"There are many examples even in reproductive biology that the natural way is not necessarily the optimal or the most efficient one," they conclude.
枚举集中的值通常用于提供方法输入,但是有些情况下,它们还可用于判断输出的类型。
The values in an enumeration set are typically used to provide input to a method although there are situations where they are useful to determine an output type.
当然,编辑原始模式使其包含新枚举值是最直接的方法。
Editing the original schema to include the new enumerated values is, of course, the most direct approach.
实际上,Scala的枚举类支持和集合协作需要的一般方法,所以我们可以简单地在循环中遍历这些种类,或者通过名字过滤它们。
In fact, Scala's Enumeration class supports the usual methods for working with collections, so we can easily iterate through the breeds with a for loop and filter them by name.
这些Value方法返回一个Value对象,它们会把这些值加到枚举值的集合中去。
These Value methods return a Value object and they add the value to the enumeration’s collection of values.
查找器方法返回bean的Remote接口或一个Remote接口的枚举。
Finder methods return the bean's Remote interface or an enumeration of Remote interfaces.
该枚举类型的values方法返回这种类型的不同值的有序数组。
The values method of the enumerated type returns an ordered array of the different values of that type.
我们在XMLSchema规范中找不到任何方法可以用来定义不区分大小写的枚举。
We can't find any way in the XML Schema spec that we can define an enumeration that is case-insensitive.
每次调用该方法时,设计时环境都会告诉我们哪些组件受到了影响,以及受到了怎样的影响(通过selectiontypes枚举)。
Each time the method is called, the design-time environment tells us which components are affected and how (via the SelectionTypes enumeration).
我们使用这个方法来给每一个枚举值赋一个长的品种名称,也就是上面输出中的Value. toString方法所返回的值。
We use this method to assign a long-form breed name to each enumeration value, which is what the Value.toString method returned in the output above.
如果不想在解析器中解析枚举值,可以考虑Genericode方法或使用解决方案5或解决方案6。
If you want to keep enumerated values out of the parser, consider the Genericode approach, or use solution 5 or solution 6.
然而在该类中,' pkey '是EventEJB的主键,该方法返回参加特定活动的客户的枚举列表。
However, in this class 'pkey' is a primary key of the event EJB, and the method returns an Enumeration of clients attending a particular event.
第二个方法返回全部差事的枚举。
模式设计者和实现人员需要一种扩展XML模式中现有枚举列表的方法。
Schema designers and implementers need a way to extend existing enumerated lists in XML schema.
不过,由于任何逻辑模型都无法枚举出所有可能性,一旦任何开发人员使用不同的方法定义了一个系统,则此类模型将无法使用。
However, since any logic models cannot enumerate all possibilities, such a model will fail once any developer defined a system using a different approach.
枚举提供了一种替代的方法,不但定义了整数常量集,而且还把它们聚集成组。
Enumerations provide an alternative method of not only defining but also grouping sets of integral constants.
我发现了一个有用的方法,使用可以在IDE中引用的枚举,而编码逻辑。
I have found a helpful way to use enumerations that can be referenced in the IDE, while coding logic.
例如,该Web服务包括用于管理报表的数据源信息的方法或者枚举某个文件夹中所有项的方法。
For example, the Web service includes methods to manage data source information for your reports or to enumerate all of the items in a folder.
枚举调用compare方法,把来自存储的两个记录的内容作为参数传递给该方法。
The enumeration calls the compare method passing in the contents of two records from the store.
位于枚举类型定义之后的main方法演示了这种用法。
The main method following the enumerated type definition demonstrates the usage.
这个字符串被保存在私有变量中,这样当枚举器调用matches()方法创建结果集的时候就可以访问这个字符串。
The string is saved in a private variable so we have access to the string when the enumerator calls the matches() method to create the result set.
与RecordComparator类似,RecordFilter也是通过在枚举器代码中增加一个方法matches实现的。
Like the RecordComparator, the RecordFilter is implemented by the addition of a single method, matches , to the enumerator code.
本文将信号流图的方法应用于多级跳跃网中的路径枚举和折射路由性能分析。
In this paper, the method of signal flow graphs is applied to path enumeration and deflection routing performance analysis in multihop networks.
FillRowMethodName 被设置为调用返回可枚举对象的每个迭代的方法名称。
The FillRowMethodName is set to the name of the method to call for each iteration of the enumerable object returned.
应用推荐