HashMap
Constructor Summary
Public Constructor | ||
public |
constructor(fnHash: function(o: object): string) |
Member Summary
Public Members | ||
public get |
length: number: * |
Method Summary
Public Methods | ||
public |
clear() |
|
public |
contains(key: K | *): boolean |
|
public |
entries(): Array<Array.<K|V|*>> |
|
public |
entryIterator(): Iterator<Array.<K|V|*>> |
|
public |
get(key: K | *): V | * |
|
public |
isEmpty(): boolean |
|
public |
keyIterator(): Iterator<K|*> |
|
public |
keys(): Array<K|*> |
|
public |
put(key: K | *, value: V | *) |
|
public |
remove(key: K | *) |
|
public |
valueIterator(): Iterator<V|*> |
|
public |
values(): Array<V|*> |
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 clear() source
public contains(key: K | *): boolean source
Params:
Name | Type | Attribute | Description |
key | K | * |
Return:
boolean |
public put(key: K | *, value: V | *) source
Params:
Name | Type | Attribute | Description |
key | K | * | ||
value | V | * |
public remove(key: K | *) source
Params:
Name | Type | Attribute | Description |
key | K | * |