An extended hashtable which returns keys in a predictable order. A list is maintained which defines
the iteration order of keys based on the order in which keys were inserted into the hashtable. The
insertion order is not affected if a key is re-inserted into the hashtable (i.e. if lht.put() is called
for a key K, for which lht.containsKey(K) would have returned true).
|
| clear |
Removes all elements from the hash table.
Inherited from dundas.HashTable. |
| containsKey |
Determines if key is stored in the hash table.
Inherited from dundas.HashTable. |
| entries |
Returns the entries contained in the hash table. The ordering of the entries
is guaranteed to be in iteration order.
Inherited from dundas.HashTable. |
| 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.
Inherited from dundas.HashTable. |
| keys |
Returns the keys contained in the hash table. The ordering of the keys
is guaranteed to be in iteration order.
Inherited from dundas.HashTable. |
| put |
Stores a key/value pair in the hash table.
Inherited from dundas.HashTable. |
| putMany |
Stores a collection of key/value pairs in the hash table.
Inherited from dundas.HashTable. |
| remove |
Removes a key/value pair from the hash table.
Inherited from dundas.HashTable. |
| removeMany |
Removes a collection of key/value pairs from the hash table.
Inherited from dundas.HashTable. |
| 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. The ordering of the values
is guaranteed to be in iteration order.
Inherited from dundas.HashTable. |