dundas.HashSet Class

A hash set backed by a hash table.
 

Inheritance Hierarchy

 
Class
   dundas.HashSet
 

Constructors

 
  Name Description
init Initializes a new instance of the hash set.
 
 

Properties

 
  Name Description
count Gets the number of items stored in the hash set.
 
 

Methods

 
  Name Description
add Stores the value in the hash set.
addMany Stores values in the hash set.
clear Removes all elements from the hash set.
contains Determines if value is stored in the hash set.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
remove Removes a value from the hash set.
removeMany Removes values from the hash set.
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 set.