dundas.StringHashTable Class

A hash table optimized for use with String keys. Both keys and values are permitted to be null in the hash table.
 

Inheritance Hierarchy

 
Class
   dundas.StringHashTable
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
count Gets the number of entries stored in the hash table.
 
 

Methods

 
  Name Description
clear Removes all elements from the hash table.
containsKey Determines if key is stored in the hash table.
entries Returns the key/value pairs contained in the hash table.

Static
fromArray Initializes a new StringHashTable using the elements from array as the values and the keys selected by keySelector.

Static
fromArrayGroupBy Initializes a new StringHashTable and groups the elements from array into an Array with keys selected from them by keySelector.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
get Gets the value that was stored in the hash table with key.
keys Returns the keys contained in the hash table.
put Stores a key/value pair in the hash table.
putMany Stores a collection of key/value pairs in the hash table.
remove Removes a key/value pair from the hash table.
removeMany Removes a collection of key/value pairs from the hash table.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
values Returns the values contained in the hash table.