您可以为服务接收的数据类型扩展值空间。
You can expand the value space for a data type that your service receives.
类型扩展与前面的向后兼容策略比起来显得有些冒险。
Type expansion is a little riskier than the previous backward-compatible choices.
动态类型扩展——可以用动态的方式向类和对象加入方法。
Dynamic type extension - methods can be added dynamically to classes and objects.
只有当旧行为继续与旧值共同存在时,类型扩展才是安全的。
As long as the old behavior continues to exist with the old values, then type expansion is safe.
从Play的模型类型扩展,为我提供了一些内置的免费服务。
Extending from Play's Model type gives me a few built-in freebies.
bean目前只提供字体样式的抽象,但为其它样式类型扩展接口比较容易。
The bean only currently provides an abstraction for font styles, but it would be easy to extend the interface for other style types.
用Ruby的方式思考:使用类型扩展;使用Block;在对象上使用方法。
Think the ruby way: use type extensions; use blocks; use methods on objects.
在XML模式中,可以使用抽象类或仅使用指定基类型扩展或派生的标记来做到这一点。
In XML schemas you can use abstract classes or just tags specifying extensions or derivations of base types.
您的设计有时可以支配您的选择,例如,以子类型扩展基本类型则更加趋向于面向对象方法。
Your design can sometimes dictate which choice you make; for example, extending base types with subtypes is clearly a more object-oriented approach.
解决表达式问题使将先前存在的类型扩展到新方法成为可能,所有这些都不重新编译现有代码。
Solving the Expression Problem makes it possible to extend preexisting types to new methods and extend preexisting methods to new types, all without recompiling existing code.
对于电网电压调节和潮流模型匹配等许多应用场合,可采用基于节点类型扩展的潮流计算方法。
For many application cases, such as voltage adjustment and power flow matching, methods based on bus-type extended load flow calculation can be effective.
仅在子类型扩展的类有一个可访问的无参数构造方法来初始化该类的状态时,才可以假定子类型有此职责。
The subtype may assume this responsibility only if the class it extends has an accessible no-arg constructor to initialize the class's state.
在DB2“Stinger”中,DB 2监视的对象层次已经通过三种不同的健康指示器类型扩展为4种不同的层次(如图2所示)。
In DB2 V8.2, the object levels that DB2 monitors have been extended to four different object levels (shown in Figure 2) through three different types of health indicators.
用于存储键-值映射的Entry类型扩展了 WeakReference,因此当expungeStaleEntries()要求下一个失效的弱引用时,它得到一个 Entry。
The Entry type, which is used to store the key-value mapping, extends WeakReference, so when expungeStaleEntries() asks for the next expired weak reference, it gets back an Entry.
根据需要完成的工作的类型,对每一项活动进行划分:构建、评估、购买、改写和扩展,等等。
Divide each of these by the type of work to be done: build, evaluate, buy, adapt, and extend, and so on.
这减少了编写和维护模式的工作量,还确保了不会有某个复杂类型被偶然遗漏而不能扩展。
This reduces the effort to write and maintain the schema, as well as ensures that no complex type is accidentally left inextensible.
这种关系扩展到对象类型。
另一个派生的示例是使用不带抽象类型的扩展。
Another example for derivation is when you use an extension without an abstract type.
您还可以为过程指定参数定义,包括参数名、模式、数据类型及其他扩展属性。
You can also specify parameter definitions, including the parameter name, mode, data type, and other extended properties, for the procedure.
您也可以为现有类型添加扩展,但要慎重。
You can also add extensions of existing types, but be careful.
通常,要求这种类型的扩展执行基本命令的其他任务。
Normally, this type of extension is required to perform additional tasks for the base command.
这包括那些从基类型(通过扩展)继承而来的元素。
This includes those elements inherited (through extension) from the base type.
新服务不能返回新的扩展类型。
具体约束机制还可针对特定类型提供扩展结构。
Concrete constraint mechanisms can also provide extension constructs that make sense for specific types.
微格式允许用户在信息中混合各种类型的扩展内容,如日历信息、个人联系信息或者图片元数据。
Microformats allow users to mix in information about all sorts of extended concerns, such as calendar information, personal contact information, or picture metadata.
一旦被扩展,除了自身的定义外,这个基类型将继承新扩展的类型的属性。
Once extended, the base type will inherit the properties of the new extended type in addition to its own definition.
注意每种扩展类型的规则,以便它们能正常工作。
Take care to observe the rules for each extension type in order for them to work.
您可以使用所有三种类型来扩展物理或逻辑模型中的实体以及概念。
You can use all three types to decorate entities in the physical or logical model, and concepts as well.
文档类型和扩展名是用户定义的值,它们应当能够表示新文档类型的意义。
The document type and extension are user-defined values, and they should recommend the new document type.
行为扩展:可以执行以下两个主要的行为扩展类型。
Behavior extension: The following two major types of behavior extension could be possible.
应用推荐