• Web一个用户环境所以一个静态对象中(singleton)保持应用状态是有可能引起问题的。

    The web is a multiunser environment, so holding application state in static objects such as singletons is likely to cause issues

    youdao

  • 注意这些中的所有方法都是静态的,所以测试开发人员需要这个实例化为一个对象可以使用这些方法。

    Note: All methods in these classes are static, so the test developer does not need to instantiate an object of this type to use them.

    youdao

  • 一个优雅根本上灵活解决方案就是使用静态横切预期对象添加行为

    A more elegant and ultimately more flexible solution is to employ static crosscutting to add the behavior to desired objects.

    youdao

  • 静态横切动态横切区别在于修改一个给定对象执行行为

    Static crosscutting differs from dynamic crosscutting in that it does not modify the execution behavior of a given object.

    youdao

  • 其他两个构造方法只是调用静态方法IndexReader . open文件路径Directory对象转换成一个IndexReader

    The other two constructors just turn your file path or Directory object into an IndexReader by calling the static method IndexReader.open .

    youdao

  • 关系分别为四个业务对象state属性定义一个静态关系。

    The relationship defines a static relationship for the non-primary key state property for each of the four business objects.

    youdao

  • 方法调度通过对象作为参数来调用一个名为“ClassOf”的静态方法予以实现。

    Method dispatch starts by calling a static "ClassOf" method with the object as argument.

    youdao

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

    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.

    youdao

  • 本文讨论了两个潜在区域区域RationalPerformance Tester提供了强大的扩展:通过一个来进行对象扩展,以及通过静态方法来使用可再用设施

    This article discusses two potential areas that can provide powerful extension points for Rational Performance Tester: object extension via a super class, and reusable utilities via static methods.

    youdao

  • 给定一个对象(比如下面定义Foo),静态横切使得创建方法添加附加构造函数甚至改变继承层次都变得十分简单

    Given an object (such as Foo, defined below), static crosscutting makes it quite simple to create new methods, add additional constructors, and even alter the inheritance hierarchy.

    youdao

  • 这种模式的典型实现方式创建抽象,其中具有静态方法create,这个方法返回的是实现了这个抽象类的一个具体对象

    Typically this is implemented by having an abstract class that has a static create method that returns a concrete object implementing the abstract class.

    youdao

  • 示例应用程序字符串对象泄漏一个静态hashmap中

    This sample application leaks string objects into a static HashMap.

    youdao

  • 因为一个静态实现而且不能XmlObject存储实例变量,所以需要别处存储更改感兴趣的对象列表

    Since this is a static implementation and you cannot store instance variables in XmlObjects, you need to store the list of interested parties elsewhere.

    youdao

  • 包含四个角色静态关系(角色对应一个业务对象)。

    A static relationship containing four roles (a role for each business object).

    youdao

  • 属性具有静态修饰符时一个对象属性,因为属性每个实例都是惟一的

    When an attribute does not have the static modifier, it is said to be an object attribute, as that property is unique for each instance of the class.

    youdao

  • 指南建议应用程序启动时使用一个静态最终变量创建这个对象然后根据需要获取对象

    The guide recommends you use a static final variable to create the object once at application startup and then get this object when needed.

    youdao

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

    Using a static factory method to create a Msg object.

    youdao

  • 通常一个保留静态引用对象例如清单1内存泄漏示例中的MyClass对象

    This is often a class object which holds a static reference; for example, the MyClass object in the memory leak example in Listing 1.

    youdao

  • 小心多线程静态因为整个锁定,不是一个对象这会导致并发瓶颈

    But be careful with multithreading with statics since the whole class has to be locked rather than just one object. This can lead to concurrency bottlenecks.

    youdao

  • 这个函数返回一个对象静态

    This function returns the value of a static field of anobject.

    youdao

  • 这个函数返回一个对象实例(非静态

    This function returns the value of an instance (nonstatic) field of an object.

    youdao

  • 抛出表达式时候,被抛出对象静态编译时类型将决定异常对象类型。

    When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.

    youdao

  • 这个函数设置一个对象静态域的

    The value to set is a reference to either a java. lang. Object, or asubclass thereof.

    youdao

  • 这个函数返回一个对象静态

    This function returns the value of a static field of an object.

    youdao

  • 一个对象创建时接收静态成员改变

    When an object is created, does it receive the static member, and can that value be changed?

    youdao

  • 小心多线程静态因为整个锁定,不是一个对象

    But be careful with multithreading with statics since the whole class has to be locked rather than just one object.

    youdao

  • 这个函数设置一个对象实例(非静态)

    This function sets the value of an instance (nonstatic) field of an object.

    youdao

  • 为什么代码声明方法范围变量并其分配给一个静态的,类级别的对象

    Why does this DI code declare a method-scope var and then assign it to a static, class-level object?

    youdao

  • 尽管的确可以显示器移动图形对象但是GDI通常一个仅有有限动画支持静态显示系统

    Although you can certainly move graphics objects around the display, GDI is generally a static display system with only limited animation support.

    youdao

  • 尽管的确可以显示器移动图形对象但是GDI通常一个仅有有限动画支持静态显示系统

    Although you can certainly move graphics objects around the display, GDI is generally a static display system with only limited animation support.

    youdao

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

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

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