hashmap
美
英 
例句
When using the Map API, you effectively treat objects in the grid as if they were objects in a local hashmap.
在使用MapAPI时,您要有效对待网格中的对象,如同它们是本地哈希映射中的对象一样。
Another issue is that of data types: in Java we have a java. util. Map, and basically two implementations of it (HashMap and TreeMap).
另一个问题是数据类型的:在Java中我们有一个java.util.Map,它一般有两个实现(HashMap和TreeMap)。
Notice that I just mock up some flight data in a HashMap rather than setting up the full MVC infrastructure.
注意我仅仅模仿了HashMap中的一些机载数据,而不是设置完整的MVC基础设施。
The last part of the method parses the XML result using a Groovy XmlSlurper and stores the results in a hashmap.
方法的最后部分使用GroovyXmlSlurper解析XML结果并将结果存储在hashmap里。
It shows how the data structure uses collections (like HashMap or Vector) to structure the elements of the data structure.
它显示了数据结构如何利用集合(如HashMap或Vector)来设定数据结构的元素的结构。
This sample application leaks string objects into a static HashMap.
这一示例应用程序将字符串对象泄漏到一个静态HashMap中。
One of the most common contention bottlenecks in server-side Java applications is the HashMap.
服务器端的Java应用程序中最普通的争用瓶颈之一是HashMap。
The first obstacle they faced in clustering RIFE was to make access to this HashMap thread safe.
群集RIFE的第一个障碍是线程安全地访问这个HashMap。
Using JAXB, it constructs Java objects corresponding to the input XML elements and puts them in a HashMap.
通过使用JAXB,将构造与输入XML元素对应的Java对象,并将其放入到HashMap中。
The getAcronymMap method shown in listing 15 gets a HashMap representation of the acronym list in the preference store.
清单15中所示的getAcronymMap方法用于获取首选项存储中缩略词列表的HashMap表示。
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)。
Nothing, if we never used an Integer as a key in a HashMap or other hash-based collection.
如果我们从未在HashMap或其它基于散列的集合中使用Integer作为关键字的话,什么也不会发生。
This, along with Integer being immutable, makes it practical to use an Integer as a key in a HashMap.
结合将不可修改的Integer,这使得使用Integer作为HashMap中的关键字是切实可行的。
On the right-hand side, we instantiate the actual type we want, a HashMap, but we don't have to repeat the type parameters.
在右边,我们实例化了一个我们实际需要的对象,一个HashMap,但是我们不用重复地声明类型参数。
The simple tests used here suggest that an uncontended synchronization is cheaper than the cost of an object creation or a HashMap lookup.
这里使用的简单测试是说明一个无争用同步的代价要比创建一个对象或查找一个HashMap的代价小。
The class, onblur, and onsubmit attributes that must be added to an HTML element are placed in a java. util. HashMap instance named addMap.
必须添加到HTML元素的class、onblur和onsubmit属性放置在名为addMap的java.util.HashMap实例中。
The getOrder method takes the order ID as a parameter, gets the corresponding order from the HashMap, and returns the same.
getOrder方法接受订单ID作为参数,从HashMap获得对应的订单并返回订单。
In the BOM-to-XOM mapping, this method creates a HashMap and puts the parameters into the HashMap.
在BOM-to-XOM映射,该方法创建一个HashMap,并将参数输入HashMap。
Scala uses the term type annotations for explicit type declarations like HashMap.
Scala使用类型注解作为显式类型声明的方式,比如HashMap。
In this implementation, the list is stored in a static HashMap.
在这个实现中,列表存储在一个静态HashMap中。
Once I showed them how to do automatic serialization replacement, the transition to HashMap proceeded as planned.
当我向他们展示如何自动进行序列化替换后,他们终于按计划完成了向HashMap的转变。
It then calls an API method of the application supplying this HashMap as input.
然后将调用应用程序的API方法,并提供此HashMap作为输入。
First of all, the belongsTo field in Flight switched from a single value to a hashmap of values.
首先,Flight中的belongsTo字段由一个值转变为多个值的散列映射(hashmap)。
The disk forms of Hashtable and HashMap are different and incompatible.
Hashtable和HashMap在磁盘上的格式是不相同、不兼容的。
XML Schema (XSD) does not have a datatype for a dictionary structure, so what happens when I marshal a HashMap to XML?
XMLSchema(XSD)没有字典结构的数据类型,因此当我将一个HashMap封送给XML时会发生什么呢?
Hashes are similar to the Java HashMap and Hashtable classes.
散列与Java中的HashMap和Hashtable类很相似。
Listing 4 illustrates how to use a custom data binding to build a map between the business object and java. util. HashMap.
清单4说明如何使用定制的数据绑定在业务对象和java.util.HashMap之间建立映射。
So, for example, it was cheaper to invoke methods on a HashMap map than a Map map, even though in both cases the map was a HashMap.
比如在HashMapmap上调用方法要比在Mapmap上调用方法更高效,虽然两个map都是HashMap。
The static hasMany setting is a Groovy hashmap: the key is trip; the value is the Trip class.
静态的hasMany设置是个Groovy的hashmap:键是trip;值是Trip类。
The main difference is that a HashMap is instantiated that associates a String value to a String key.
主要差别是,实例化了一个HashMap,用于将一个String值与一个String键相关联。
The first line gets a HashMap from the geocoder service.
第一行从geocoder服务获得一个HashMap。
Notice that attrs is a HashMap of the tag attributes.
请注意:attrs是标记属性的HashMap。
This is unexpected because hash maps have constant time search whereas trees have log(n) search.
这很出乎意料,因为hashmap的搜索时间是常量,但trees的搜索时间却是log(n)。
get to retrieve the string, and then call String. indexOf to extract the desired rights identifier.
接着,程序将调用HashMap.get检索该字符串,然后调用String.indexOf抽取想要的权限标识符。
A HashMap, though, is a complex type.
不过,HashMap一个复杂类型。
The two retrieval methods simply retrieve the value from the HashMap (Figure 14 and 15).
这两个检索方法只检索HashMap中的值(图14和图15)。
Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax.
而属性(诸如id和iata)是用Groovy散列映射键:值语法定义的。
In this example, it is a HashMap.
在本例中是HashMap。
In the example here, you don't need a response, so an empty Hash map is used.
在本例中,您不需要响应,因此使用了空的Hashmap。
Clearly, this approach is a pain but the solution is easy: Never use a mutable object type as a key in a HashMap.
很显然,这种方法很糟糕,但是解决方法也很简单:永远不要将可变对象类型用作HashMap中的键。