Home > @silence_zhpf/utils > HashSet > symmetricDifference
此函数返回两个哈希集之间的对称差异。
Signature:
symmetricDifference(other: HashSet<T>): HashSet<T>;
Parameter | Type | Description |
---|---|---|
other | HashSet<T> | 另一个HashSet 对象。 |
Returns:
HashSet<T>
一个新的 HashSet,它包含当前 HashSet 和作为参数传递的另一个 HashSet 之间的对称差异。