By typing the following command, you can see an assembly listing of every section in the object file that contains executable code.
通过输入下面的命令,您可以看到目标文件中包含可执行代码的每个段的汇编清单。
Therefore, to make the translation from one Object to another, you can use the code shown in listing 1.
因此,要想从一个对象转换成另一个对象,可以使用清单1所示的代码。
Now the final task is to include this element in the object and save all of the HTML code to a file, which you'll do in Listing 8.
现在最后一项任务是将这个元素加入到对象中,并将所有HTML代码保存到一个文件中,这是在清单8中完成的。
Listing 4 shows the full code of the test case object.
清单4显示了测试用例对象的完整代码。
Listing 3 shows the mock device object code.
清单3给出模拟设备对象的代码。
As shown in Listing 7, the code is verbose because many object constructors do not take parameters.
如清单7所示,代码十分冗长,因为许多对象构造函数都不带参数。
The code in Listing 8 does the same thing as the original code, but the logic for handling states has been put into one object for each state.
清单8中的代码完成的工作与初始代码相同,但是用于处理状态的逻辑已经被放入每个状态的一个对象中。
In the listing provided here, for simplicity, the code launches a dialog that shows the business object id provided on the URL.
为了简单起见,在这里提供的清单中,代码将启动一个显示url中提供的业务对象ID的对话框。
Variables are untyped, so the object constructor might begin with code shown in Listing 1.
变量是无类型的,所以对象构造方法可能以清单1这样的代码开头。
The code in Listing 4 didn't actually rotate the object in place around its center, but around its upper-left corner.
清单4 所示代码实现不是将现有对象以中心为原点进行旋转,而是以其左上角为原点进行旋转。
The Client-Side Click-to-Action source object code is updated, as shown in Listing 3.
客户端的点击操作源对象代码得到了更新,如列表3所示。
All you have to do to create this object is invoke the code in Listing 8.
要创建这个对象,只需调用清单8中的代码。
The code to create this object is shown in Listing 14.
创建此对象的代码如清单14所示。
Listing 3: Code to create a GridFileSystem object.
列表3:创建GridFileSystem对象的代码。
Listing 5 shows the code that creates the XMLHttpRequest object.
清单5显示了创建XMLHttpRequest对象所需的代码。
Listing 7 shows the fixed code of the ApplicationUtil object.
清单7显示了修复后的ApplicationUtil对象代码。
Consider the code in Listing 2, where a UI component holds a Point object to represent its location.
考虑清单2中的代码,其中的UI组件保存有一个Point对象,用于表示它的位置。
For instance, the code in Listing 2 May not be supported by all JAX-RPC systems, as the BookSearchBroker object is returned by reference.
例如,可能不是所有的JAX - RPC系统都支持清单2中的代码,因为BookSearchBroker对象是通过引用返回的。
The code in Listing 7 marshals the instance of DojoList (list object) into JSON.
清单7中的代码将DojoList(列表对象)的实例编组成JSON。
In the bad code example in Listing 1, the fields of the Person object are exposed directly as public fields instead of with accessors.
在清单1的坏代码示例中,Person对象的字段被直接公开为公共字段而非使用访问方法。
Instead, you get a WorkManager using JNDI and hand it to the Work object which encapsulates the back-end business logic, using code similar to that shown in Listing 2.
取而代之,使用JNDI获取WorkManager并使用类似于清单2所示的代码将其传递到封装后端业务逻辑的Work对象。
You've been seeing the embed code of a Flash object for years, but as Listing 1 shows, lengthy exposure doesn't make it any less complex.
一个Flash对象的嵌入代码已存在很多年了,但是像清单1所示的代码,就算您研究很长时间,也不能让它简单多少。
Listing 5 shows code that receives the incoming data and pushes it into an object of the ArrayList class.
清单5展示的代码将接收传入的数据并将数据推入到arraylist类的对象中。
The code in Listing 4 illustrates the journey from PurchaseOrder object instantiation and setup all the way through to persistence of this object in the database.
清单4中的代码展示了从PurchaseOrder对象的实例化和设置一直到此对象在数据库中的持久化这个完整的过程。
Listing 7 contains a snippet of code from the WSRF.Resource object.
清单7中包含了来自WSRF . Resource对象的代码片段。
To implement the logic to do the transformation between the business object and the XML string, copy the code in Listing 4 to the class ContactComponentImpl.
要实现业务对象与xml字符串之间传输的逻辑,将清单4中的代码复制到类ContactComponentImpl。
Listing 4 shows the code to build the AuthRequest object and request the attributes using SReg.
清单4显示了建立AuthRequest对象和使用SReg请求属性的代码。
Listing 2 shows the code of the ApplicationUtil object.
清单2显示了ApplicationUtil对象的代码。
If you run the same code through json_encode , you get a portable json object (as shown in Listing 5).
如果您通过json_encode运行相同的代码,您将得到一个可移植的json对象(如清单5所示)。
The code in Listing 5 resides in the User object.
清单5中的代码位于User对象内。
应用推荐