HashSet
Implements:
- Iterable.<V>
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
length: number: * |
Method Summary
Public Methods | ||
public |
[Symbol.iterator](): Iterator<V|*> |
|
public |
add(value: V | *) |
|
public |
addAll(collection: Iterable<V|*>) |
|
public |
clear() |
|
public |
contains(value: V | *): boolean |
|
public |
get(value: V | *): V | * |
|
public |
isEmpty(): boolean |
|
public |
remove(value: V | *) |
|
public |
removeAll(collection: Array<V|*>) |
|
public |
valueIterator(): Iterator<V|*> |
|
public |
values(): Array<V|*> |
Public Constructors
public constructor() source
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 get(value: V | *): V | * source
Params:
Name | Type | Attribute | Description |
value | V | * |
Return:
V | * |
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|*> |