find方法要求您知道主键和实际类的类型。
The find method requires you to know the primary key as well as the actual class type.
有时我们想限制可能出现的泛型类的类型实例化。
Sometimes we want to restrict the potential type instantiations of a generic class.
因此,不能复制在编译时根本不知道是什么类的类型引用。
OK, so you can't copy a reference to a type whose class is totally unknown at compile time.
客户端或表示层必须具有将从中间层接收的用于类的类型定义。
The client or presentation tier must have type definitions for the classes that it will be receiving from the middle tier.
这实际上意味着查找类的类型,分配一个对象,并运行指定的构造方法。
This essentially means locate the class type, allocate an object and run the specified constructor.
在泛型类中定义的委托,可以与类的方法一样地使用泛型类的类型参数。
Specialized generic types are created once for each unique value type used as a parameter.
注意模式中有order及item类的类型定义,但是没有Item的子类的类型定义。
Note that type definitions for classes Order and Item appear in the schema, but type definitions for the subclasses of Item do not.
就像泛型类的类型参数用尖括号括起来那样,泛型类型应用程序的参数也是用尖括号括起来的。
Just as the type parameters of a generic class are wrapped in Angle brackets, the arguments of a generic type application are wrapped in Angle brackets as well.
在Scala 中,方括号表示参数化的类;在这里,参数是ID的类型和实际模型类的类型。
The square brackets denote a parameterized class in Scala, and in this case, it takes the type of the ID and the type of the actual model class.
Jam中的mixin与普通类相似,都定义类型;mixin实例化拥有mixin的类型和父类的类型。
Mixins in Jam, like ordinary classes, define types; mixin instantiations have both the type of the mixin and the type of the parent.
我不想总是扮演同一类型的角色,我认为自己塑造的形象已经保持了相当的多样性。
I didn't want to be typecast and I think I've maintained a large variety in the roles I've played.
通过添加包装程序类,您打破了子类型的多态性。
By adding a wrapper class, you have broken subtype polymorphism.
E类和A 类空域的划分取决于在这两类空域飞行的飞机类型。
The reason for the division of Class E and Class A airspace stems from the type of planes operating in them.
接下来,运行资源类,生成不同类型的输出。
Next, run the resource class producing different types of output.
运行资源类以生成不同的输出类型。
Run the resource class to produce different types of output.
请注意,存储类指定的是媒体类型,而非对象将存储到的实际位置。
Note that storage class specifies the type of media, not the actual location where an object will be stored.
然后你可以选择需要生成绑定类的复杂类型。
It then allows you to select the complex types you want to generate binding classes for.
类型覆盖率:一个类中覆盖的类型百分比。
图5.创建一个类类型的模板参数。
我们可以在一个地方定义通用的方法,然后将它们混入跨越多个类类型的对象,同时限制对每个对象为基础的敏感方法的访问。
We can define generic methods in one place and mix them into our Objects across multiple Class types while limiting access to sensitive methods on a per Object basis.
通配符在类型系统中具有重要的意义,它们为一个泛型类所指定的类型集合提供了一个有用的类型范围。
Wildcards play an important role in the type system; they provide a useful type bound for the family of types specified by a generic class.
该层次结构包括四种常规类型的类:用于已定义类型的接口、用于实际元素的接口和这两组接口的实现。
This hierarchy includes four general types of classes: interfaces for the defined types, interfaces for the actual elements, and implementations for both sets of interfaces.
从应用程序的角度来看,类型接口是这些类最有趣的部分。
The type interfaces are the most interesting of these classes from the application program standpoint.
如果提供的类是泛型类,那么即使为这个类提供了最通用的参数类型定义,也会处理类的所有字段。
If that supplied class is a generic class, all fields of the class are processed as though the most general possible parameter type definitions were supplied for the class.
但这再也不会过多困扰我了因为我知道他只是他这一类型的典型,而我也是我这一类型的典型- - -我们有化学依据可以证明的。
But it doesn't bother me so much because I know he's being true to his type, and I'm being true to mine - we have the chemistry to prove it.
资源类生成的MIME类型应当匹配一种可接受的 MIME 类型。
The MIME type produced by the resource class should match an acceptable MIME type.
允许的响应类型应当匹配资源类中生成的MIME类型。
The accepted response type should match the MIME type produced in the resource class.
整个类装入器集合形成了树状结构的层次结构,在其每个层次上都可装入不同类型的类。
The complete set of class loaders make up a tree-structured hierarchy with different types of classes loaded at each level.
保存添加了对象类的组实体类型配置;实体类型配置的对象类显示在图29中。
Save the Group entity type configuration with the added object classes; the configured object classes for the entity type are shown in figure 29.
实际的类型参数可以由泛型类定义的类型变量匹配。
The actual type arguments can be matched to the type variables defined by the generified class.
应用推荐