InclusionHashSet
Implements:
- Iterable.<V>
Constructor Summary
Public Constructor | ||
public |
constructor(fnHash: function(o: object): string) |
Member Summary
Public Members | ||
public get |
length: number: * |
Method Summary
Public Methods | ||
public |
[Symbol.iterator](): Iterator<string> |
|
public |
add(value: V | *) |
|
public |
addAll(collection: Iterable<V|*>) |
|
public |
clear() |
|
public |
|
|
public |
contains(value: V | *): boolean |
|
public |
isEmpty(): boolean |
|
public |
remove(value: V | *) |
|
public |
removeAll(collection: Array<V|*>) |
|
public |
valueIterator(): Iterator<string> |
|
public |
values(): Array<string> |
Protected Methods | ||
protected |
_addHashed(hash: string) |
Public Constructors
public constructor(fnHash: function(o: object): string) source
Params:
Name | Type | Attribute | Description |
fnHash | function(o: object): string |
|
Public Members
Public Methods
public add(value: V | *) source
Params:
Name | Type | Attribute | Description |
value | V | * |
public addAll(collection: Iterable<V|*>) source
Params:
Name | Type | Attribute | Description |
collection | Iterable<V|*> |
public clear() source
public contains(value: V | *): boolean source
Params:
Name | Type | Attribute | Description |
value | V | * |
Return:
boolean |
public remove(value: V | *) source
Params:
Name | Type | Attribute | Description |
value | V | * |
public removeAll(collection: Array<V|*>) source
Params:
Name | Type | Attribute | Description |
collection | Array<V|*> |
Protected Methods
protected _addHashed(hash: string) source
Params:
Name | Type | Attribute | Description |
hash | string |