hashmap
- 网络散列表
-
This HashMap is returned to the service implementation method .
此HashMap将返回到服务实现方法。
-
A HashMap , though , is a complex type .
不过,HashMap一个复杂类型。
-
This sample application leaks string objects into a static HashMap .
这一示例应用程序将字符串对象泄漏到一个静态HashMap中。
-
The first line gets a HashMap from the geocoder service .
第一行从geocoder服务获得一个HashMap。
-
It then calls an API method of the application supplying this HashMap as input .
然后将调用应用程序的API方法,并提供此HashMap作为输入。
-
It merely wraps around the HashMap and simulates a real business object .
它只不过是包装了HashMap然后模拟一个真实对象。
-
One of the most common contention bottlenecks in server-side Java applications is the HashMap .
服务器端的Java应用程序中最普通的争用瓶颈之一是HashMap。
-
The disk forms of Hashtable and HashMap are different and incompatible .
Hashtable和HashMap在磁盘上的格式是不相同、不兼容的。
-
The first obstacle they faced in clustering RIFE was to make access to this HashMap thread safe .
群集RIFE的第一个障碍是线程安全地访问这个HashMap。
-
One example of this is concurrentHashMap versus hashmap .
concurrentHashMap与hashmap的对比就是一个例子。
-
The main difference is that a HashMap is instantiated that associates a String value to a String key .
主要差别是,实例化了一个HashMap,用于将一个String值与一个String键相关联。
-
Grails is returning a hashmap with a single element named tripList .
Grails将返回一个hashmap,其中只有一个名为tripList的元素。
-
Using JAXB , it constructs Java objects corresponding to the input XML elements and puts them in a HashMap .
通过使用JAXB,将构造与输入XML元素对应的Java对象,并将其放入到HashMap中。
-
Attributes ( such as id and iata ) are defined using Groovy hashmap key : value syntax .
而属性(诸如id和iata)是用Groovy散列映射键:值语法定义的。
-
Notice that I just mock up some flight data in a HashMap rather than setting up the full MVC infrastructure .
注意我仅仅模仿了HashMap中的一些机载数据,而不是设置完整的MVC基础设施。
-
Notice that attrs is a HashMap of the tag attributes .
请注意:attrs是标记属性的HashMap。
-
This , along with Integer being immutable , makes it practical to use an Integer as a key in a HashMap .
结合将不可修改的Integer,这使得使用Integer作为HashMap中的关键字是切实可行的。
-
Once I showed them how to do automatic serialization replacement , the transition to HashMap proceeded as planned .
当我向他们展示如何自动进行序列化替换后,他们终于按计划完成了向HashMap的转变。
-
The program creates the HashMap for the stats document , as well as UserList documents for each service .
这个程序为统计文档创建HashMap,并且为每个服务创建UserList文档。
-
Clearly , this approach is a pain but the solution is easy : Never use a mutable object type as a key in a HashMap .
很显然,这种方法很糟糕,但是解决方法也很简单:永远不要将可变对象类型用作HashMap中的键。
-
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的实现。
-
The getOrder method takes the order ID as a parameter , gets the corresponding order from the HashMap , and returns the same .
getOrder方法接受订单ID作为参数,从HashMap获得对应的订单并返回订单。
-
The validate method has a single parameter , arguments , which is a HashMap containing name / value string pairs for each server validation argument .
validate方法具有一个参数arguments,该参数是一个HashMap,包含针对每个服务器验证参数的名称/值字符串对。
-
Our application maintains a HashMap for representing attributes of various entities ; one such attribute is the list of access rights that a given user has .
我们的应用程序维护一个代表各种实体的属性的HashMap,给定用户的访问权列表就是这种属性中的一种。
-
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中的关键字。
-
By the algorithm based on suffix array and by using HashMap the co-occurrence patterns of ( Chinese ) characters are gotten , and Chinese words are filtered through confidence .
该算法通过后缀数组和利用散列表获得汉字的结合模式,通过置信度筛选词。
-
This API method gets the information required by the invoker , from the application and constructs a HashMap , putting the information as output parameter objects in the HashMap .
此API方法从应用程序获取调用方所需的信息,并构造一个HashMap,将此信息作为输出参数对象放置到HashMap中。
-
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会更清晰。
-
And the JDK gives us a great Map implementation in the form of the HashMap , which uses hashtables internally to support fast key lookups for corresponding values .
JDK以HashMap的形式为我们提供了方便的Map实现,它在内部使用哈希表实现了对键的对应值的快速查找。
-
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(这基本上是一个以当前线程作为键的特殊散列表)。