这套系统的好处不胜枚举。
中国的名胜古迹不胜枚举。
The places of interest in China are too numerous to mention.
计算机的用途不胜枚举。
这样的例子不胜枚举。
如果不是,我们就不能把钱存入银行;不能从别人那里购买食物、衣服或药品;不能开车过桥,不能坐飞机——这样的事情不胜枚举。
If not, we couldn't put money in the bank, buy food, clothing, or medicine from others, drive across a bridge, get on a plane—the list is endless.
诸如此类,不胜枚举。
应该对枚举类型使用这些方面吗?
然后创建如下所示的其他枚举。
将这作为枚举每个安全页面的模板。
第二个方法返回全部差事的枚举。
使用枚举类型的基本概念很简单。
允许在设计阶段之后扩展枚举列表。
清单2显示最新创建的枚举列表。
用解析器对基本枚举列表进行验证。
Validation of the base enumeration list is done by the parser.
建议明确地枚举这些逻辑标识。
It is recommended, though, to enumerate the logical identifiers explicitly.
幸运的是,枚举提供了更好的方法。
finder 的枚举返回类型。
category属性是枚举类型。
The category attribute is an enumerated type. It's one of the following.
然而,扩展枚举有几个优势。
最后我们学习了如何封装枚举中的值。
Finally, we learned how to encapsulate values in enumerations.
枚举值应使用由英语单词组成的名称。
Enumeration values should use names consisting of English words.
在该解决方案中,枚举字段不会变化。
XML文档经常包含某些元素的枚举。
Frequently, XML documents contain enumerations of certain elements.
在一个周期内验证枚举列表。
枚举是简单类型的特殊类型。
缺点:解析器不验证枚举值。
Disadvantage: Enumerated values are not validated by the parser.
枚举列表是特定数据点的一组指定值。
An enumerated list is a set of specified values for a particular data point.
有些人认为根本就不应该扩展枚举列表。
Some folks say that you should not extend enumerated lists at all.
这就是枚举类型的简单性。
最后一个方法是反向枚举。
应用推荐