• In contrast, a map container holds objects for which the order is not important; a value is extracted from the container by providing a key that locates the value of interest.

    相比之下,映射容器则用于保存那些对顺序不是很敏感对象通过提供可以找到关系密钥,就可以容器中提取值。

    youdao

  • I also create a specialized invocation handler that holds on to a Map where the key is the property name, and the value is the value of the property.

    建立专门调用处理程序它维持一个Map映射里,属性名称是属性的值。

    youdao

  • Note that the return value of a get on a Scala Map is not the actual value corresponding to the passed key.

    注意Scalamapget返回实际上并不对应传递

    youdao

  • The Map operation, written by the user, takes an input pair and produces a set of intermediate key/value pairs.

    用户编写Map操作需要输入生成中间/

    youdao

  • That is, map primarily works with and returns two elements: a key and a value.

    就是说map主要处理返回两个元素和一个

    youdao

  • If the value matches the current map contents for the key, the key is removed. Listing 5 shows the equivalent source for this operation.

    如果匹配当前映射内容,那么删除这个键。

    youdao

  • When called, it will only remove the key from the map if the key is mapped to the specific value.

    调用时,只有映射到指定的值时map中删除这个键。

    youdao

  • Instead, it's an Option [t] instance, either Some around the value in question, or else None, which makes it clear when the key wasn't found in the map.

    相反一个Option [t]实例可以某个有关的Some,可以是None,因此可以很清晰地表示没有map找到

    youdao

  • This becomes particularly important if it is acceptable for a given key to exist in the map but have a corresponding value of null, as is the case for the Los Angeles key in Listing 1.

    如果可以表示map存在某个但是对应null一点特别重要了。比如清单1Losangeles键。

    youdao

  • For example, you can access a list element with zget("/request/myList#3"), or the value of key within a map using zget("/request/myMap#key").

    例如可以通过zget("/request/myList#3")访问列表元素使用 zget("/request/myMap#key") 访问映射内部 key

    youdao

  • There is a single method to implement called map (which is parameterized based on the types of the (key,value) pair that are the input).

    这里名为 map简单实现方法方法基于输入 (key,value) 对的类型进行参数化。

    youdao

  • Finally, this data is written to the Context object (whose write method is parameterized based on the types of the (key, value) pair that are produced by map).

    最后这个数据写到Context对象(它的write方法基于映射生成(key,value)对类型进行参数化)。

    youdao

  • A global reverse index is simply a design where you create a map whose key is the search term, and the value is the list of keys containing an attribute with that search term.

    全局反向索引仅仅一个设计其中创建映射搜索关键词包含属性搜索关键词的列表

    youdao

  • The global context looks like a map with access through key-value pairs.

    全局上下文通过值对进行访问映射

    youdao

  • The map message is essentially a set of key-value pairs, which makes it suitable to carry a flattened document, as described in the previous section.

    映射消息实际上值对,使适合携带扁平结构的文档,如前文所述。

    youdao

  • Listing 14 retrieves the current Psycho document, deletes it in CouchDB, and then recreates it by adding a new movie-title key with the current ID value and removing the ID from the map.

    清单14检索当前Psycho文档CouchDB中删除然后通过添加一个带有当前idmovie -title映射移除旧id来重新创建它。

    youdao

  • Each ObjectGrid is composed of one or more maps, with each map consisting of a set of key and value pairs.

    每个ObjectGrid多个映射组成,每个映射又由对组成。

    youdao

  • When working with MapReduce, the map function's job is to pick some value to work off of, along with some key.

    使用MapReduce 进行处理时map函数任务选择一些处理以及一些

    youdao

  • This is a great use-case for a Map, in which each key of the Map is one of these enumerated values, and each value is the error message for that key. Listing 10 illustrates how this works.

    映射(map)绝好用例,这里,每个映射(map)都是枚举每个错误信息

    youdao

  • Like the Google framework MapReduce; MR describes a way of implementing parallelism using the Map function which splits a large data into multiple key-value pairs.

    Google框架MapReduceMR描述了一种使用Map功能实现并行性方法大型数据分割多个-值对。

    youdao

  • MapReduce breaks down a problem into millions of parallel computations in the Map phase, producing as its output a stream of key-value pairs.

    MapReduce映射阶段一个问题分解数百万并行计算并生成-值对流作为输出

    youdao

  • Similarly, while the Map (and its oft-chosen implementation, HashMap) are great for doing name-value or key-value pairs, there's no reason to limit yourself to these familiar tools.

    虽然map(以及的常用实现HashMap)非常适合名-值对-值对,但是没有理由自己局限这些熟悉的工具。

    youdao

  • Map, written by a user of the MapReduce library, takes an input pair and produces a set of intermediate key/value pairs.

    MapReduce用户指定一个Map函数,通过这个函数接收key/value然后产生一系列中间key/value对。

    youdao

  • Suppose we modify the previous example so we’re matching on the key-value pairs from a map.

    我们修改一下前面一个例子,来匹配map键值

    youdao

  • Each entry and element of such a data map contains the value of a JSF input component whose ID is also the key in the data map.

    数据地图每个条目元素包含J SF输入组件ID数据地图

    youdao

  • Each entry and element of such a data map contains the value of a JSF input component whose ID is also the key in the data map.

    数据地图每个条目元素包含J SF输入组件ID数据地图

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定