hashmap

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,一般两个实现HashMapTreeMap)。

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.

显示数据结构如何利用集合HashMapVector设定数据结构元素结构

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.

清单15getAcronymMap方法用于获取首选项存储缩略词列表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元素classonbluronsubmit属性放置addMapjava.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.

首先FlightbelongsTo字段一个转变多个映射hashmap)。

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

HashtableHashMap磁盘格式相同兼容

XML Schema (XSD) does not have a datatype for a dictionary structure, so what happens when I marshal a HashMap to XML?

XMLSchemaXSD没有字典结构数据类型因此一个HashMap送给XML发生什么呢?

Hashes are similar to the Java HashMap and Hashtable classes.

散列JavaHashMapHashtable相似

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调用方法高效虽然mapHashMap

The static hasMany setting is a Groovy hashmap: the key is trip; the value is the Trip class.

静态hasMany设置GroovyhashmaptripTrip

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搜索时间logn)。

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).

两个检索方法检索HashMap1415)。

Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax.

属性诸如idiataGroovy映射语法定义

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

热门查询