可以将方法指针当作调用对象方法的方便机制。
Think of the method pointer as a short-hand convenience mechanism for invoking methods along an object graph.
需通过调用对象方法或改变它们的属性值来完成这个操作。
You perform this manipulation by invoking methods of the objects or changing their property values.
要访问提供的对象,调用这个方法即可。
如果有,目标对象调用该方法。
现在,可以在所创建的对象上调用各种方法。
调用组件将实现这些接口的对象(故意不称之为值对象)实例化,并在这两个方法调用中将该对象用作方法参数。
The calling component instantiates an object — deliberately not called a value object — that implements these interfaces and USES this object as a method parameter in both method calls.
客户机应用程序直接调用远程对象存根上的方法。
The client application invokes methods directly on a remote object's stub.
OQL查询同样可以调用对象的方法,将正则表达式作为查询的一部分,并使用内置查询工具。
OQL queries can also invoke methods on the objects themselves, use regular expressions as part of the query, and use built-in query tools.
一旦实际对象被装载,它将被每一个调用代理对象的方法使用。
Once the real object is loaded, it is used for every future method call to the proxy instance.
获取对象引用后,客户端应用程序可以调用该对象上的方法,该对象就好像是本地对象。
After the object reference is obtained, the client application can call methods on that object as if that object was a local one.
还可以重构调用处理程序,让它处理其他横跨不同对象类型的方法调用的操作。
The invocation handler could also be refactored to handle other operations across multiple method invocations on different object types.
清单4展示如何使用php重载调用对象和类方法。
Listing 4 illustrates using PHP overloading to invoke object and class methods.
消息的结构通常紧密地绑定到由基础对象实现调用的方法的签名。
The structure of the message is generally tightly bound to the signature of the method being invoked by the underlying object implementation.
可以更新这个对象,然后调用update方法。
现在,让我们继续执行最简单的操作:调用ActionScript对象方法。
Now, let's move on to the easiest manipulation of all: calling ActionScript object methods.
可以使用哪些WebSphereApplicationserver脚本对象方法调用。
Which WebSphere Application Server scripting object method calls can be used.
调用Call对象的invoke方法。
接下来,通过从Serializer对象调用read方法,从而实例化POJO。
Next, you instantiate the POJO by invoking the read method from the Serializer object.
这个变量会调用对象的__get方法,在散列表中查找title条目并返回。
That variable, in turn, calls the __get method on the object that looks for the title item in the hash table and returns it.
然后在这些对象上调用receive方法。
这意味着,要同步某个特定的对象,您只需要对该对象调用同步方法;在本例中,对Drop上的lock字段中所保存的对象调用同步方法。
This means that to synchronize on a particular object, you simply call the synchronize method on that object; in this case, on the object held in the lock field on Drop.
然后,你必须在这个委托对象上调用BeginInvoke方法。
首先,对字符串对象“hello”调用methods方法。
First the methods method is invoked on the string object "hello."
然后,通过方法调用把这个对象传递给其他组件。
The object is then passed to other components through method calls.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
如果定义了此方法,则在该上下文中调用对象时将使用此方法。
If this method is defined, it will be used when the object is called in that context.
这样一来,正如WSDL中所指定的和API文档中所描述的一样,调用SOAP方法就与构造合适参数并在代理对象上调用方法一样简单了。
Calling SOAP methods is then as simple as constructing the appropriate parameters, as specified in the WSDL and described in the API documentation, and making the method call on the proxy object.
不会存在两个线程同时调用该对象的方法的情况(显然是以对象为基础的)。
No two threads will be able to execute methods against those objects at the same time (on a per-object basis, obviously).
使用rmi,可以像调用本地对象的方法一样调用远程对象的方法。
Using RMI, you can call methods of remote objects just like you call methods of local objects.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
应用推荐