dundas.StringHashSet Class

A hash set optimized for use with String values. Null values are permitted in the hash set.
 

Inheritance Hierarchy

 
Class
   dundas.StringHashSet
 

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.

Static
fromArray Initializes a new StringHashSet using the elements from array with values selected by valueSelector.
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 pair 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.