Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyValuePair<K, V>

定义可设置或检索的键/值对。

class
version

1.0.0

Type parameters

  • K

  • V

Hierarchy

  • KeyValuePair

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _key

_key: K

Private _value

_value: V

Accessors

key

  • get key(): K

value

  • get value(): V

Methods

toString

  • toString(): string
  • 使用键和值的字符串表示形式返回 KeyValuePair<K, V> 的字符串表示形式。

    override

    Returns string

    string

Generated using TypeDoc