The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.
单例、生成器和工厂方法设计模式被视为是创建型的模式,因它们可协助对象的构建。
You have to remember which object is overriding which method, and what objects have new functionality attached to them.
你需要记住对象重写了哪个方法,以及为哪些对象添加了新的功能。
By expanding the current thread and the method frames in the thread, you can look at the objects associated with those methods.
通过展开当前线程和线程中的方法帧,您就能够查看与这些方法相关的对象。
The goal of a method signature that accepts generic data instead of strongly typed objects is to ensure loose coupling between the caller and the target object.
接受一般数据而不接受强类型对象的方法签名的目标在于确保调用函数与目标对象之间的松散耦合。
I also wrote a similar timing test program for creating objects using reflection. The differences for this case aren't nearly as significant as for the field and method call cases, though.
我还为创建使用反射的对象编写了类似的计时测试程序,但这种情况下的差异不象字段和方法调用情况下那么显著。
In a classic design, value objects or data transfer objects in those methods are used as method parameters and return values when complex objects are required.
在经典的设计中,这些方法中的值对象或数据传输对象用作方法参数并在需要复杂对象时返回值。
Generator objects come with a next method attached to them, and as such, allow you "pipeline" actions together.
生成器对象附带有下一个方法,因而允许您通过“管道”将操作连在一起。
The sequence diagram shows what happens inside of a method by reverse engineering the code and visually displaying which objects and messages are exchanged.
序列图通过对代码的反向工程可以展示出方法中所发生的一切,还能以可视化的形式展示出交换的对象与消息。
It would be nice to have similar operators that could take names of, say, methods and give you other metadata objects, like method infos, property infos, and so on.
要是还有相似的用来获取名称的操作符就好了。比如,给你其它元数据对象——诸如方法信息、属性信息等等——的方法。
The first is the method of distributed objects (also known as object Request Broker), and the second method is that of asynchronous messaging.
第一种方法是使用分布式对象(也称为对象请求代理),第二种方法是使用异步消息传递。
The main method then only puts NanoDelay objects into the queue and takes them out again.
然后main方法只是将NanoDelay对象放到队列中并再次将它们取出来。
Highly efficient through the use of Bartok's native layouts for objects, method tables and arrays.
高效,这是通过使用Bartok的对象、方法表和数组的本地布局达到的。
When you call a method on one of pixie's proxy objects, it magically connects to the pixie datastore and fetches the real object for you.
当您调用其中一个pixie代理对象的方法时,它神奇地连接到pixie数据存储并为您获取真正需要的对象。
You instantiate a BasicAttributes object and call its put method any number of times to put all the Attribute objects (one at a time) into the collection.
您可以实例化一个BasicAttributes对象,并多次调用对象的put方法,将所有Attribute对象(一次一个地)放入集合中。
Both changed inheritance trees, and passing objects to external functions could often make it non-obvious whether a method would or would not actually run when working with an object. For example.
不管在处理对象时是否实际运行了方法,修改继承树和将对象传递给外部函数经常会使这一点变得不那么明显。
It is designed to cache basic information about business or function objects that will be consumed in many method calls of Web services, and that will change infrequently.
其旨在缓存有关将在Web服务的许多方法调用中使用和不会频繁更改的的业务或功能对象的基本信息。
The client creates an array of these Element objects and calls the invoke method of the Axis Call object.
客户机将创建一个由这些Element对象组成的数组,并调用AxisCall 对象的invoke方法。
A single method on the facade interface can execute one or more command objects, so the facade input parameters and the method return value need to be well chosen.
在facade接口中一个单独的方法可以执行一个或多个command对象,因此facade输入参数和方法返回值需要进行很好的选择。
In the init method, you can set up the view and model objects you will use in the subsequent actions.
在init方法中,可以设置将在后续操作中使用的视图和模型对象。
Then it refreshes the fans and person objects, which are outjected after the method exits.
当方法返回之后,它便更新了fans和person对象并且把这两个对象抛出。
Instead of recording (mapping) all of the objects in our constantly changing application, we map only the most essential objects and use the findTestObject() dynamic search method to find the rest.
我们不记录(映射)经常变化的应用程序中的所有对象,而是仅映射最主要的对象,并使用findTestObject()动态搜索方法查找其他对象。
SO RPC-style Web services resemble OO method invocation: The client synchronously invokes methods against objects using SOAP envelopes that encode input parameters and return values.
因此,rpc样式的Web服务与OO方法调用很相似:客户机使用SOAP信封(编码输入参数和返回值)对对象同步调用方法。
Following are some of the different objects and APIs that you might need to program an inline method style application.
下面是编写内联方法风格应用程序所需的不同对象和api。
Web pages containing multimedia objects of different types and sizes can use multi-streaming to transport these components in a partially ordered method, rather than in a strict ordered way.
包含有不同类型和大小的多媒体对象的网页,可以使用multi - streaming以部分有序的方法来传输这些内容,而不要用严格有序的方法。
The method USES JCS's remove and clear methods to clean up the cache objects.
这个方法使用JCS的remove和clear方法来清除缓存对象。
In this case, using value objects as method parameters requires that Component1 create the value objects for each method call and actively copy the values required into the value objects.
在本例中,使用值对象作为方法参数需要Component1为每个方法调用创建值对象,并主动地将所需值复制到值对象中。
In this case, using value objects as method parameters requires that Component1 create the value objects for each method call and actively copy the values required into the value objects.
在本例中,使用值对象作为方法参数需要Component1为每个方法调用创建值对象,并主动地将所需值复制到值对象中。
应用推荐