Home > @silence_zhpf/utils > HashSet > fromHashMapValue
此函数将 HashMap 的值转换为 HashSet。
Signature:
static fromHashMapValue<T, U>(map: HashMap<T, U>): HashSet<U>;
Parameter | Type | Description |
---|---|---|
map | HashMap<T, U> | HashMap 类的实例。 |
Returns:
HashSet<U>
一个新的“HashSet”对象,包含来自输入“HashMap”的所有值。