Listing 4 illustrates using PHP overloading to invoke object and class methods.
清单4展示如何使用php重载调用对象和类方法。
This makes generically identifying object and class structures difficult, if not impossible.
这可能会使标识对象和类结构变得很困难。
GC roots can be found in the root stacks, in thread execution stacks, and in object and class fields.
GC根能在根堆里找到,在线成执行堆,在对象和类域里。
Taking use case view as an example, sequence diagrams were built up through the analyzing noun and verb of edit model, designing object and class, and iteration time after t…
以用例视图为例,通过分析编辑模型的名词和动词,设计对象和类,经数次迭代后建立其顺序图。
Taking use case view as an example, sequence diagrams were built up through the analyzing noun and verb of edit model, designing object and class, and iteration time after time.
以用例视图为例,通过分析编辑模型的名词和动词,设计对象和类,经数次迭代后建立其顺序图。
However, you can define both static and dynamic searches for the same object class if you have a hybrid group with both static and dynamic members.
不过,如果有包含静态成员和动态成员的混合组,您可以为同一对象类同时定义静态搜索和动态搜索。
Instead you can define some as an object (instead of a class) and it becomes a singleton instance of the class.
相反您可以定义一个对象(而不是类)并且它将成为类的一个单例实例。
Or in other words, before the first call is made to the UDF an object of the class is created and kept until after the last call.
或者,换句话说,在第一次调用udf之前,就创建该类的一个对象,并且一直保留到最后一次调用这个UDF之后。
To determine what keyword to add, access the source object from the transformation context and cast it to a UML Class.
为了决定添加什么关键字,从转换内容中访问资源对象,并将其传递给一个uml类。
Object pooling only helps reduce the memory required for class allocations and the time required for object creation and destruction.
对象池只是有助于减少类分配所需的内存以及对象创建和销毁所需的时间。
Obtains the reference for the table ID, value object class, session attribute for data rows, and session attribute for combo box if one exists.
取得对表格ID、值对象类、数据行的会话属性和组合框(如果有的话)的会话属性的引用。
Often, a request requires an instance of a certain class, but this object does not (and should not) need to be recreated in every request.
每个请求都需要特定类的实例,但此对象并不(也不应)需要在每个请求中重新创建。
The difference in cumulative size occurs because the aggregated data structure level view uses summarized instance counts and the object/class leak suspects view uses actual instance and size counts.
总大小的差别是由于聚合数据结构级别视图使用汇总实例计数,对象/类泄漏疑点视图使用实际事例和大小计数。
To determine which tag to add, access the source object from the transformation context and cast it to a UML class.
要决定添加哪个标签,在转换环境中访问源对象,并将其转换为UML类。
Now, since we're actually updating a class (and not just a single object) we would have to do this to every object of that class.
现在,由于我们实际上是更新了一个类(并不仅是某个对象),所以我们不得不对该类的每一个对象都做这样的一件事。
This class simply converts the XML class to a PHP object and then walks through that object and creates an associative array, as in Listing 5.
该类仅仅将xml类转化为一个php对象,然后遍历该对象,并创建一个关联数组,如清单5所示。
Standard J2EE is partially able to satisfy this mapping, for example, by simply mapping the object to a session EJB class, and the operation to a particular secured EJB method.
标准J2EE可以部分地满足此映射,例如,可以将对象 映射到会话EJB类,将操作 映射到特定的安全 EJB方法。
You can verify it manually with the instanceof operator, a handy tool introduced with PHP V5 that sits between an object instance and a class name.
可以用instance of操作符来手动验证这一点,该操作符是PHPV 5引入的介于对象实例和类名之间的一个便捷工具。
These object instances are the orderer and shipper properties in the Service specification class.
这些对象实例就是Service规范类中的订货方和运送方属性。
The SOAP binding calls the target method in the target class and passes the Request object as a parameter.
SOAP绑定调用目标类中的目标方法,并将Request对象作为参数传递。
Listing 1 is a version of the Dictionary class that accepts a DictionaryIO object and stores it for later use.
清单1是Dictionary类的一个版本,它接受一个DictionaryIO对象,并将其存储以备将来使用。
This method accepts four arguments: a property, a property value, a class, and a parent test object.
该方法接受4个参数:属性、属性值、类和父测试对象。
A model object is an ActionScript class that holds data in the application and maps to a remote object (TimeEntry.php) in the PHP services tier.
模型对象是一个actionscript类,它携带应用程序中的数据并映射到php服务层中的一个远程对象(TimeEntry . php)。
It then calls the friend function spacefriend and passes the class object address as its argument, and calls the template function, beginning with integer types and then floating data types.
然后,调用友元函数spacefriend并将类对象的地址作为其参数传递。然后调用template函数,先使用整数类型,然后使用浮点数据类型。
Figure 1 shows a class diagram of the Email object and the Sendable interface.
图1显示了Email对象和Sendable接口的类图。
The object service class consists of three variables and accessors to the variables, namely serviceimplemenation, serviceimplemenationurn, and the methodName.
对象服务类由三个变量和这些变量的访问器组成,这些变量是 serviceimplemenation 、serviceimplemenationurn 和methodName 。
This method searches the entire page content for an object of Link class with the text AAAAPlace_721134315 and returns the object to be acted upon.
该方法将搜索所有页面内容,查找包含文本aaaaplace_721134315的link类对象,然后返回要执行操作的对象。
It's important to note that not all of the properties in the item class will necessarily exist on every Content object in that class, and that is acceptable.
一定要注意,条目类中的所有属性不一定在这个类中的每个Content对象上都存在,这是可以接受的。
A mock object based on a ClassB class is constructed and provided an expectation.
构建基于classb类的模拟对象并向其提供期望。
The class and object can have the same name, as we will see in the section called "Companion Objects" in Chapter 6, Advanced Object-Oriented Programming in Scala.
类和object可以使用同样的名字,就像我们会在《第6章-Scala高级面向对象编程》的“伴随实体”章节中看到的那样。
应用推荐