hashtable

  • 网络哈希表;散列表
hashtablehashtable
  1. These two values will be lost after we get the object back from the hashtable

    这两个值将在我们的哈希表中得到对象返回值后被消除

  2. Determines whether the Hashtable contains a specific key .

    确定哈希表中是否包含一个指定的键。

  3. The standard utility classes such as Hashtable and Vector also affect Java program performance .

    标准实用程序类,如Hashtable和Vector也影响Java程序性能。

  4. Adds an element with the specified key and value into the Hashtable .

    添加一个带有指定键和值元素到哈希表。

  5. Removes the element with the specified key from the Hashtable .

    从哈希表中移除指定键的元素。

  6. You have to construct a hashtable to contain the blog post information .

    必须构造一个包含blog帖子信息的散列表。

  7. The tag works like a Hashtable , defining a key / value pairing to set the properties .

    标签就像一个Hashtable,它定义一个键/值对来设置属性。

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

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

  9. To do this , you simply use a hashtable or a similar collection to store the XML documents .

    为此,您只需使用一个hashtable或者一个类似的集合来存储XML文档。

  10. However , the thread-safety came at a price & all methods of Hashtable were synchronized .

    然而,线程安全性是凭代价换来的――Hashtable的所有方法都是同步的。

  11. Each SharedObject instance has a data property that can be thought of as a hashtable for storing data .

    每个SharedObject实例都有一个数据属性,可以看作存储数据的哈希表。

  12. If name does not correspond to a key in the hashtable , then null will simply be returned .

    如果哈希表中没有与键值对应的名称,将返回null。

  13. When we create a new instance of a Hashtable , we have to pass type arguments to specify the types of Key and Value .

    创建一个新的Hashtable实例时,必须传递类型参数以指定Key和Value的类型。

  14. Hashtable provided an easy-to-use , thread-safe , associative map capability , and it was certainly convenient .

    Hashtable提供了一种易于使用的、线程安全的、关联的map功能,这当然也是方便的。

  15. For this specific example , it turned out that the primary culprit was a font manager class that contained a static hashtable .

    就本例而言,最后查明罪魁祸首是包含一个静态hashtable的字体管理器类。

  16. The code only changed from the previous example in only one place : the values placed in the PROVIDER_URL key of the environment Hashtable object .

    相对于前一个示例,此代码仅在一个地方进行了更改:放在环境Hashtable对象的PROVIDERURL键中的值。

  17. Therefore , this static hashtable , which essentially existed for the life of the application itself , was never removing the keys that referenced each form .

    因此,这个静态hashtable(在应用程序的生存期内一直存在)永远不会删除引用每个窗体的那些键。

  18. Threading : Oniguruma uses global locks when initializing code range tables or managing shared AST nodes ( like Character Class hashtable ) .

    多线程:Oniguruma在初始化代码范围表或者管理共享的AST节点(如Character类散列表)时,使用全局锁。

  19. In this case , the SharedObject is looked up , and the name parameter is used to look up the saved object from the data hashtable .

    本例中,已搜索到SharedObject,并且name参数已用于从数据哈希表中搜索已存储的对象。

  20. The various forms could be zoomed in or out independently , so the hashtable contained a vector with all of the fonts for a given form .

    各个窗体可被单独放大或缩小,所以这个hashtable包含一个具有某个给定窗体的全部字体的vector。

  21. In a given program , the types of elements we use as keys , and the types of values we store in the hashtable , will not be arbitrary objects .

    那么在给定的程序中,被用作键的元素类型和存储在散列表中的值类型,将不能是任意对象。

  22. The bigger problem with the synchronized Collections wrappers , and the earlier Hashtable and Vector classes , is that they synchronize on a single lock .

    同步的集合包装器以及早期的Hashtable和Vector类带来的更大的问题是,它们在单个的锁上进行同步。

  23. But in the Java language versions that exist today , it is impossible to declare that the particular keys and elements of a hashtable have types more specific than Object .

    但是在目前现有的Java语言版本中,不可能将散列表的特定键和元素声明为比Object更具体的类型。

  24. After tracing back through the list of referrers , I found that the root node was a static hashtable that stored the fonts in use for each form .

    通过逆向追踪引用者列表,我发现根节点是用来存储每个窗体所用字体的一个静态hashtable。

  25. On the other hand , that 's no worse than the current situation ; you can 't pass an int as a key to Hashtable because all keys must be of type Object .

    另一方面,当前的这种情况是最糟的;您不能将int作为键传递给Hashtable,因为所有的键都必须是Object类型。

  26. For example , you can create a Map ( Ruby calls them " hashes ", even though a hashtable is only one way a map can be implemented ) with a simple syntax like

    例如,你可以用一个简单语法创建一个Map(Ruby称之为“hashes”,尽管hashtable只是map一种可能的实现方式),如

  27. ConcurrentHashMap may be used as a replacement for synchronizedMap or Hashtable in any application that does not rely on the ability to lock the entire table to prevent updates .

    在任何不依赖于锁整个表来防止更新的应用程序中,可以使用ConcurrentHashMap来替代synchronizedMap或Hashtable。

  28. SharedClassTokenHelper : This helper effectively turns the shared class cache into a simple hashtable & classes are stored against string key tokens that are meaningless to the cache .

    SharedClassTokenHelper:这个helper实际上将共享类缓存转换为一个简单的哈西表&类按照一个对于缓存无意义的字符串键标志进行存储。

  29. Pay particular attention to these lines in this listing : ( 1 ): The UrlArguments class is a small utility class that parses the URL arguments into a hashtable object .

    请特别注意清单中的以下代码行:(1):UrlArguments类是一个小型实用工具类,它将URL参数解析为散列表对象。

  30. These compromises enable ConcurrentHashMap to provide far superior scalability over Hashtable , without compromising its effectiveness in a wide variety of common-use cases , such as shared caches .

    上述改进使得ConcurrentHashMap能够提供比Hashtable高得多的可伸缩性,而且,对于很多类型的公用案例(比如共享的cache)来说,还不用损失其效率。