• 这个模型声明一个实现多个抽象的时候非常有用

    This model is very useful for declaring that a class exposes multiple abstractions.

    youdao

  • 如果不是这种情况声明一个为可序列化错误的。

    It is an error to declare a class Serializable if this is not the case.

    youdao

  • 到这里为止我们学习了如何声明个类,如何初始化它们以及继承一些基础

    So far, we've covered how to declare classes, how to instantiate them, and some of the basics of inheritance.

    youdao

  • 代码中可以通过声明继承一个来指定对象继承关系。

    In code, you can specify inheritance relationships between objects by declaring that one class inherits from another.

    youdao

  • 使用引入(Introduction),Aspect可以中添加新的方法变量声明个类实现一个接口检查异常转换为未检查异常(unchecked exception)。

    Using introduction, aspects can add new methods and variables to a class, declare that a class implements an interface, or convert checked to unchecked exceptions.

    youdao

  • 清单1展示了一个示例注释声明后面注释用于某些方法定义

    Listing 1 shows a sample annotation declaration followed by the definition of a class using that annotation on some methods.

    youdao

  • 定制绑定提供者一个带有声明元数据文件定制绑定

    The custom binding provider is the packaging of custom binder classes with a declarative metadata file.

    youdao

  • 现在尝试a使用复制结构运算符赋值清单15声明

    Now, try using a copy construction and operator assignment for class a, declared in Listing 15.

    youdao

  • 无需声明,因为实际上每件东西都一个对象

    There is no need to declare classes, and actually, pretty much everything is an object anyway.

    youdao

  • 便于使用我们定义一个eventconstants声明一些有用的常量例如主题字符串

    For ease of use, we define a EventConstants class to declare some useful constants such as topic strings.

    youdao

  • 就是说我们不必首先声明一个混合所有我们所需要trait

    That is, we don't have to declare a class first that mixes in all the traits we want.

    youdao

  • 如果希望声明一个真正的”(有用的)dojo那么一定理解构造函数

    If you want to declare a "real" (that is, useful) Dojo class, it's important to understand constructors.

    youdao

  • AlgoNames(清单16)一个指定XML加密需要名称空间声明助手

    AlgoNames (Listing 16) is a helper class that only specifies namespace declarations required by XML Encryption.

    youdao

  • 这个例子中期望groovyc创建至少两个.class文件——用于song一个用于Song声明之后脚本代码

    In this case, I expect groovyc would create at least two.class filesone for my Song class and another for the script code following Song's declaration.

    youdao

  • 代码清单创建了一个名为ClientSocket随后声明名为“xml_socket”的xml套接字对象

    This code listing creates a new class called ClientSocket and then declares an XML socket object named "xml_socket."

    youdao

  • 可以创建创建一个终结器声明final

    You can create a finalizer for the class you're creating and declare it as final.

    youdao

  • 实际上我们Widget可以声明一个trait

    In fact, our Widget class above could have been declared to be a trait.

    youdao

  • dojo中,可以声明一个preamble一个constructor一个postscript但是大多数情况下需要声明一个构造函数。

    In a Dojo class you can declare a preamble, a constructor, and a postscript, but in the majority of cases you will only need to declare a constructor.

    youdao

  • 一步声明一个WebTestCase扩展而来的如清单3

    The first step is to declare a class that extends from WebTestCase, shown in Listing 3.

    youdao

  • 它将来建立临时A保存声明表达式的值,这个临时用来引用Foo的。

    Will construct a temporary a object to hold the result of the statement expression, and that will be used to invoke Foo.

    youdao

  • 使用规则参数声明描述一个用户可以键入一个合格名称

    It USES a rule parameter to declare and describe a field where the user can type a qualified class name.

    youdao

  • 清单1显示一个声明两个属性

    Listing 1 shows a class that declares two properties.

    youdao

  • 如果不是一个静态那么需要首先声明保存有对此嵌套引用那个字段名称,之后才能看到这个预览

    If it is not a static class, you first need to declare the name of the field that will hold the reference to the parent class of the nested class before you get to the preview box.

    youdao

  • 为此需要声明专门异常指出已经告知结果

    To do that, declare a a special exception class that indicates the result has been signalled already.

    youdao

  • 可以一个全局范围内声明

    This can be declared in a class or at a global scope.

    youdao

  • 不过作为一个免责声明一直使用消费硬件产品而不是高端专业东西

    As a disclaimer, though, I've been using consumer hardware, not high-end professional stuff.

    youdao

  • 可以修改已有,将作为参数传递利用API而不需要基础 API 声明一个抽象接口

    You can modify an existing class, pass it as a parameter, and take advantage of the API without requiring the base API to declare an abstract class or interface.

    youdao

  • 创建服务时,bean公开单一服务,方法是将bean本身声明为服务的一个接口

    In the case of implicit service creation, the bean is exposed as a single service by declaring the bean class itself as an interface for the service.

    youdao

  • 这次NewClass向导中,我们一个名称空间声明但是称为MegaLottery

    This time in the new class wizard, we'll declare our new class in the same namespace, but call it MegaLottery.

    youdao

  • 这次NewClass向导中,我们一个名称空间声明但是称为MegaLottery

    This time in the new class wizard, we'll declare our new class in the same namespace, but call it MegaLottery.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定