All of these steps are shown in Listing 8, which brings your map to the desired functionality level.
所有这些步骤均显示在清单8中,这之后,地图就达到了理想的功能水平。
The map file in Listing 9 includes these statements.
清单9中的映射文件包含有这些声明。
Create a map and assign it to a variable, as Listing 1 shows.
创建一个地图并将其分配到一个变量,如清单1所示。
To populate the file, loop through the values in your word map, writing each to a row in your file (see Listing 4).
要填充文件,可循环通过单词映射中的值,将每个值写到文件中的一行(参见清单4)。
To do this, create a hash map as in Listing 3 that contains the row data you want to store in the table.
为此,创建一个如清单3中所示的散列映射,其中包含您想要存储在表中的行数据。
In Listing 5, we list the contents of a type map used to provide the mapping necessary to serve different versions of our article based on language and media type.
在清单5中,我们列出了用来提供必要映射的类型映射的内容,这些必要映射根据语言和媒体类型的不同,提供我们文章的不同版本。
Consider the clearly leaky application shown in Listing 1. It adds to a map but never prunes it.
考虑确定有泄露的应用程序,如清单1所示。它添加到映射,但从不清除它。
Based on the above, the attachments container (Listing 5) can be implemented as a map that contains attachment data sources and are keyed by attachments identifiers.
基于以上所述,可以将附件容器(清单5)实现成包含附件数据源的映射,并以附件标识符唯一识别。
Listing 6 shows a new walk-through topic map that is also generated from these same files.
清单6展示了一个新的演练主题图,它也产生于这些相同的文件。
Listing 3 shows how to map fields from the connector to the module in question.
清单3展示了如何将字段从连接器映射到相关模块。
The next task is to build a U.S. state shaded and annotated map with cities plotted with the commands shown in Listing 10.
下一项任务是用清单10中所示的命令构建标绘了城市的美国各州渐变并加了注释的地图。
Listing 13 adjusts the center point and the zoom level so that you can see the full map.
清单13调整了中心点和缩放级别,使您能够看到完整的地图。
The return structure is also a little different, but you simply map it back to the common structure seen in Listing 3.
返回的结构也有点差异,但您只需将它映射回清单3中的公共结构即可。
Listing 2 shows the XML output message that is produced by the map.
清单2给出这个映射产生的XML输出消息。
If you look a bit further down in the source code, you will see the code responsible for handling the printing of the grid names and map sets (Listing 5).
在源代码中往下一点,将会看到负责输出网格名称和映射集的代码(清单5)。
Listing 6 changes the code to pass a hash map representing the attributes for a trail.
清单6修改了代码,以传递代表路线属性的哈希映射表。
One of the configurations it defines is a site map, so we need to add the new HTML page to the site map, as shown in Listing 3.
它定义的配置之一是一个站点地图,所以需要在站点地图中添加新的HTML页面,见清单 3。
Finally, you can add the NOAA RIDGE radar layer to your map by referencing your newly created map file, as shown in Listing 4.
最后,可以通过引用新创建的这个地图文件向地图添加NOAARIDGE雷达层,如清单4所示。
Just as in the Person mapping file in Listing 2, in Listing 9 we map the abstract class (Right) and all its attributes.
正如清单2所示的Person映射文件,在清单9中,我们映射了抽象类(Right)及其所有属性。
A MapServer map file is created exactly as in Listing 3, but with the LAYER section describing a shapefile instead of a WMS, as Listing 5 illustrates.
结果会如清单3那样创建一个MapServer地图文件,只不过LAYER部分描述的是一个shapefile而不是之前的WMS,如清单5所示。
The Visitor in Listing 3 produces a map that associates each external page with a list of internal pages that link to it.
清单3中的Visitor 生成一个映射,将每一个外部页面与链接它的一组内部页面相关联。
Next, create a MapServer map file defining the data that you want to include (shown in Listing 3).
接着,创建一个MapServer地图文件来定义想要包括的数据(如清单 3 所示)。
These elements define the filter class (org.ajax4jsf.Filter) and map it to the JSF Faces Servlet defined in Listing 2.
这些元素定义过滤器类(or g . ajax4jsf . Filter),并将它映射到清单2中定义的jsfFacesServlet。
Listing 8 shows the map with all the automatically added markers in place.
图8展示了自动添加了标记后的地图。
The Functional map Func_Line1 receives the data shown above in Listing 34 as input card In1.
功能性映射Func_Line1作为输入卡in1接收清单34所示的数据。
Listing 4 is a JSON document (from CouchDB) followed by an equivalent Clojure map representation.
清单4是一个(来自CouchDB的)json文档,后面是一个对等的Clojure映射表示。
Listing 3 is a portion of the DITA map for "Module 2 — Using Query Monitor" of the pilot course.
清单3是示范课程中“模块2——使用QueryMonitor”的主题映射的一部分。
The revision is the _rev map entry in Listing 15.
修订是清单15 中的 _rev映射条目。
Listing 13 below shows the input message for the example WebSphere TX map named Map_DynamicIndex.
清单13给出WebSphereTX映射示例Map_DynamicIndex的输入消息。
If the value matches the current map contents for the key, the key is removed. Listing 5 shows the equivalent source for this operation.
如果值匹配键的当前映射内容,那么就删除这个键。
应用推荐