• Using a static factory method to create a Msg object.

    使用静态工厂方法创建一个msg对象。

    youdao

  • A static factory method on a generic or a non-generic class?

    一个静态的泛型和非泛型类工厂方法?

    youdao

  • The first class USES a constructor to initialize the properties, and the second class USES a static factory method.

    第一个类使用构造函数初始化属性,第二个类使用静态工厂方法。

    youdao

  • In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.

    用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。

    youdao

  • You can retrieve an MXBean instance from a static factory method that gives you direct access to the locally running JVM's MXBean interface.

    您可以从一个静态工厂方法获得一个MXBean实例,该方法可以使您直接访问本地运行的JVM的MXBean接口。

    youdao

  • In Listing 2, the code first includes the necessary class file for the MDB2_Schema package, and then initializes the MDB2 abstraction layer by calling its static factory method.

    在清单2中,代码首先包含了MDB2_Schema包所需的类文件,然后通过调用其静态方法factory以初始化mdb2抽象层。

    youdao

  • The heuristic for identifying static factory methods is somewhat basic and could be confused by a method that looks like a factory method but actually performs a different operation.

    用于识别静态factory方法的启发法还比较基本,可能会与看上去像是factory方法但实际上执行不同操作的方法产生混淆。

    youdao

  • Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable t and return an instance of List.

    因为我们希望List成为其所包含的元素类型的泛型,所以希望静态factory方法带有类型变量t这一参数并返回List的实例。

    youdao

  • It has an awkward static method factory-based API instead of an object-oriented one, and you are forced to catch checked exceptions that may never need to be caught.

    MessageDiges t类有一个笨拙的基于工厂的静态方法api,它不是面向对象的,并且你被迫去捕获那些永远都不必捕获的CheckedExceptions。

    youdao

  • It has an awkward static method factory-based API instead of an object-oriented one, and you are forced to catch checked exceptions that may never need to be caught.

    MessageDiges t类有一个笨拙的基于工厂的静态方法api,它不是面向对象的,并且你被迫去捕获那些永远都不必捕获的CheckedExceptions。

    youdao

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

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

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