In the business object code, it is very difficult to understand the format of the business data structure that is being manipulated (that is, the data model is hidden from the business code.).
在业务对象代码中,很难了解要操作的业务数据结构的格式(也就是,对业务代码隐藏了数据模型)。
In Figure 3, the gear box represents abstractions that deal generically with some fundamental data structure, and the yellow box represents portable code, encapsulating data inside it.
在图3中,齿轮箱代表处理一些基础数据结构的抽象,而黄色箱代表可移植代码,将数据封装在里面。
You may have code like that shown in Listing 2, or something similar, that exposes data format structure in places where it doesn't belong.
您可能使用类似清单2的代码,或者其他类似的东西,在不需要的的地方公开数据格式结构。
If the document structure changes, you need to rerun the code generation and modify your application code to work with the resulting modified data classes.
如果文档结构发生变化,再需要重新生成代码,并修改应用程序代码以使用最终修改后的数据类。
Some memory leaks occur due to program errors in which infinite loop in the application code allocates new objects and adds them to a data structure accessible from outside the program loop scope.
有些内存泄漏是由于程序错误发生的,在存在此类错误的情况下,应用程序代码中的无限循环会分配新的对象,并将其添加到可从程序循环范围外面访问的数据结构中。
Simply running the data structure analysis engine code on a class isn't all that much fun because the result is just one data structure representing another data structure.
仅仅在一个类上运行数据结构分析引擎代码,不那么有趣,因为结果只是代表另一个数据结构的数据结构。
Listing 1 gives the code for the root class of this data structure.
清单1给出了这个数据结构根类的代码。
When you've evaluated the code and produced the data structure, simply iterate through it and create each widget in turn.
当执行完代码并产生数据结构时,只需迭代它,依次创建每个小部件。
While it might be possible to identify the memory leaking data structure by analyzing the heap dumps, identifying the memory leaking code which is in a infinite loop is not straightforward.
虽然通过分析堆转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单。
A quick description of the pseudo-metadata code and the resulting data graph structure is provided below.
下面将对伪元数据代码和结果数据图结构进行简要的介绍。
Creating a view of the XML data helps to abstract the structure of the product XML from the application code, by allowing us to simply query the view.
创建XML数据视图使我们可以轻松地查询视图,从而有助于从应用程序代码理解产品XML的结构。
Dataflow streams act as bounded queues of values, so data can be poured through the structure defined by the code, maintaining many of the same beneficial properties.
数据流充当值的绑定队列,因此可以通过代码定义的结构灌注数据,保留相同的有益属性。
If you run this code on the XML in Listing 3 and use print_r to see the rough structure of the data, you get the output in Listing 5.
如果您在清单3中的XML上运行这个代码并使用print_r来查看查看数据的大致结构,您将得到如清单5所示的输出。
The sample code provides the Data Definition Language (DDL) and Integration Exchange Format (IXF) files which make up the structure.
该样本代码提供了组成该结构的数据定义语言(Data Definition Language,DDL)和集成交换格式(Integration Exchange Format,IXF)文件。
If you wanted to create a program that tracks the activity of a chess club, you might use a data structure that would be described by the following Perl code.
如果您想创建一个追踪国际象棋俱乐部活动的程序,则可以使用由以下Perl代码描述的数据结构。
Listing 5 contains a code snippet for setting these values in the rpgIO data structure.
清单5包含设置rpgio数据结构中的这些值的代码段。
This code expects the Player object to be serialized into a JSON data structure.
这段代码预计将Player对象序列化成JSON数据结构。
The rest of the code simply extracts data from the structure returned by Google and puts it into a common structure.
剩下的代码则只需从Google返回的结构中提取数据并将这些数据放入一个公共结构。
Listing 6: Code example for the stateInfo data structure
清单6. stateInfo数据结构代码示例
The fibdata data structure is passed down to an spe by the PPE along with the code that is embedded through the fib_spe_handle.
PPE将fibdata数据结构传递给spe,还通过fib_spe_handle传递嵌入的代码。
You can code conditional WebSphere TX map logic within map rules using the PRESENT function, which tests to see if a particular data object is found in a data structure.
可以在映射规则中使用present函数编写有条件的WebSphereTX映射逻辑,这个函数检查在数据结构中是否可以找到某个数据对象。
You can look through the source code for the file rxp.c to see the way that RXP parsing generates a compact document tree as a data structure.
可以分析rxp . c文件的源代码,以了解rxp解析生成紧凑文档树作为数据结构的方法。
Note that the SessionData class defined in Listing 3 is a user-defined data structure to store various shopping cart information (Click the code icon at the top or bottom of this article).
请注意,清单3中定义的sessiondata类是用于保存各种购物车信息的用户自定义数据结构(点击本文顶部或底部的code图标)。
I had another purpose for rewriting besides improving the code and the data structure design, however. That was to evolve it into something I understood completely.
除了改进代码和数据结构,我的重写还有另一层目的,就是要把它演进成一个我完全理解的东西。
You can also use frameworks that decode the data structure information directly from class files, or even from source code.
也可以用框架直接从类文件解码出数据结构信息,甚至从源代码进行解码。
The structure type is simply a code table value from a data perspective.
结构类型从数据的角度来看只是一个代码表值。
Listing 8 contains the RPG source code example for redefining the input indicator array to a data structure.
清单8包含将输入指示符数组重新定义到一个数据结构的rpg源代码示例。
The notations included data flow diagrams, structure charts, HIPO diagrams, 5 procedure templates, pseudo code, structured flowcharts, structured English, and decision tables.
记号包括了数据流图,结构图,hipo图,5过程模板,伪代码,结构化流程图,结构化英语和判定表。
The URL is a little different, and the mapping back to the normalized data structure is a little different (see Download for all of the source code).
只是URL有点不一样,并且映射回常规化的数据结构的映射也有点不一样(所有源代码,参见下载)。
Listing 7 provides the source code examples for the data structure definitions.
清单7提供数据结构定义的源代码示例。
应用推荐