typescript-util
Version:
JS/TS 的简单工具
22 lines • 531 B
TypeScript
import { BaseObject } from './BaseObject';
/**
* KeyValue
* @author LL
* @date 2022-01-23 上午 1:52
**/
export declare class KeyValue<K, V> extends BaseObject {
key: K;
value: V;
constructor(key: K, value: V);
equals(o: any): boolean;
hashCode(): number;
toString(): string;
/**
* toString 的 "重载"
* 可以自定义分隔符 connect 默认 =
* @param {string} connect
* @return {string}
*/
toStr(connect?: string): string;
}
//# sourceMappingURL=KeyValue.d.ts.map