小于 1 分钟
Home > @hz-9/algorithm > KeyValue > (constructor)
KeyValue.(constructor)
Constructs a new KeyValue instance.
构造一个新的 KeyValue 实例。
Signature:
constructor(key: K, value: V);Parameters
Parameter | Type | Description |
|---|---|---|
key | K | The key. |
value | V | The value. |