FreezableSet
The default ES6 Set() class is rather useless, as it doesn't do proper equality comparison, no use of keys in a Map(), etc.
This class is a wrapper around such a Set() but with a `frozen' getter to convert to String for equality testing.
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public get |
frozen: * |
|
public |
|
|
public get |
size: * |
Private Members | ||
private |
|
|
private |
_set: * |
|
private |
_string: * |
|
private |
|