• The last part of the method parses the Xml result using a Groovy XmlSlurper and stores the results in a hashmap.

    方法的最后部分使用Groovyxmlslurper解析xml结果并将结果存储在hashmap里。

    youdao

  • In this case, TripController redirects you to the list action, passing along all of the parameters (or QueryString) in the params hashmap.

    在此,TripController重定向到list动作,同时传递paramshashmap中的所有的参数(或QueryString)。

    youdao

  • I find it clearer to ignore this interface-like structure for most purposes and instead think of annotations as a hashmap of name-value pairs.

    我发现大多数情况下忽略这种类似于接口的结构,而把注释看作是名值对的hashmap会更清晰。

    youdao

  • In the above example, a simple hashmap or binary search tree could have easily solved the problem, but implementing one of these data structures in XSL would be inconvenient and unnecessary.

    在上面的示例中,如果使用一个简单的散列图(hashmap)或二进制搜索树就可以轻易地解决问题,但是用XSL实现一个这样的数据结构并不是很方便,并且是不必要的。

    youdao

  • Notice that attrs is a HashMap of the tag attributes.

    请注意:attrs是标记属性的HashMap。

    youdao

  • The first line gets a HashMap from the geocoder service.

    第一行从geocoder服务获得一个HashMap。

    youdao

  • This HashMap is returned to the service implementation method.

    此HashMap将返回到服务实现方法。

    youdao

  • This sample application leaks string objects into a static HashMap.

    这一示例应用程序将字符串对象泄漏到一个静态hashmap中。

    youdao

  • The disk forms of Hashtable and HashMap are different and incompatible.

    Hashtable和HashMap在磁盘上的格式是不相同、不兼容的。

    youdao

  • It then calls an API method of the application supplying this HashMap as input.

    然后将调用应用程序的API方法,并提供此HashMap作为输入。

    youdao

  • Scala USES the term type annotations for explicit type declarations like HashMap.

    Scala使用类型注解作为显式类型声明的方式,比如HashMap。

    youdao

  • This hash code could be used as a key into a HashMap or for any other related purpose.

    这个哈希码可以用作HashMap或者其他相关目的的键。

    youdao

  • The two retrieval methods simply retrieve the value from the HashMap (Figure 14 and 15).

    这两个检索方法只检索hashmap中的值(图14和图15)。

    youdao

  • Xpand was then used to parse and translate the grammar into a HashMap-based data structure.

    接下来,使用Xpand解析语法并将其转换为基于HashMap的数据结构。

    youdao

  • The program creates the HashMap for the stats document, as well as UserList documents for each service.

    这个程序为统计文档创建HashMap,并且为每个服务创建UserList文档。

    youdao

  • ContactStore: It's a HashMap-based in-memory data store whose implementation is not important for this article.

    ContactStore:这是基于HashMap的内存数据存储库,其实现对于本文不重要。

    youdao

  • Clearly, this approach is a pain but the solution is easy: Never use a mutable object type as a key in a HashMap.

    很显然,这种方法很糟糕,但是解决方法也很简单:永远不要将可变对象类型用作hashmap中的键。

    youdao

  • The getOrder method takes the order ID as a parameter, gets the corresponding order from the HashMap, and returns the same.

    getOrder方法接受订单ID作为参数,从HashMap 获得对应的订单并返回订单。

    youdao

  • This is usually not a problem in practice — it is not common practice to use a mutable object like a List as a key in a HashMap.

    实践过程中这通常不是问题——我们并不经常使用象List这样的可修改对象做为hashmap中的关键字。

    youdao

  • The simple tests used here suggest that an uncontended synchronization is cheaper than the cost of an object creation or a HashMap lookup.

    这里使用的简单测试是说明一个无争用同步的代价要比创建一个对象或查找一个HashMap的代价小。

    youdao

  • However, you should be careful not to overuse this technique; most of the time an ordinary HashMap is the right Map implementation to use.

    不过,应当小心不滥用这种技术,大多数时候还是应当使用普通的HashMap作为Map的实现。

    youdao

  • For demonstration purposes, you used HashMap to store contact records, even though HashMap wouldn't actually be used in a real-world application.

    出于演示目的,使用了hashmap来存储联系人记录,不过在实际中并不会真的使用HashMap。

    youdao

  • The next-fastest data structure is HashMap, followed by ThreadLocal (essentially, a specialized hash table in which the current thread is the key).

    更慢一点儿的数据结构是HashMap,然后是ThreadLocal(这基本上是一个以当前线程作为键的特殊散列表)。

    youdao

  • JSON objects should look familiar to Groovy programmers: if you replace the curly braces with square brackets, you'd be defining a HashMap in Groovy.

    对于Groovy程序员来说,JSON对象看上去应该更熟悉:如果将花括号换成方括号的话,在Groovy中就是定义一个HashMap。

    youdao

  • Instead, I use Groovy metaprogramming to override the getParams method directly, forcing the expected values to be present in the HashMap that's returned.

    相反,我使用Groovy 元编程直接覆盖getParams方法,使期望的值出现在返回的HashMap 中。

    youdao

  • Your function expects a HashMap whose keys are the names of the services and whose values are the count of how many times the service occurs in the FriendFeed.

    您的函数要求HashMap的键是服务的名称,其值为服务在FriendFeed中出现的次数。

    youdao

  • For simplicity, we discuss two: PrimaryData as a HashMap of key-value pairs that drive the display model, and FocusedEntity, which represents the current tag under focus.

    为简单起见,我们仅讨论两个数据元素:PrimaryData,作为驱动显示模型的键-值对的hashmap;以及FocusedEntity,它表示当前持有焦点的标记。

    youdao

  • You also saw a new addition to jQuery, the data functions, which serve as a sort of HashMap on every page element, letting programmers create any attributes they might need.

    您还看到了新添加到jQuery的data函数,此函数可充当每个页面元素的HashMap,让程序员可以创建所需的任何属性。

    youdao

  • In the design, we considered caching the HashMap housing the acronym information, but we chose not to because we wanted to support dynamic updating of the acronym dictionary.

    在设计中,我们考虑过对存储缩略词信息的HashMap进行缓存,但是我们选择不缓存,因为希望支持缩略词词典的动态更新。

    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

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

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

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