HashSetExtensions
Provides extension methods for sets.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static class HashSetExtensions
Static Methods
Method | Description |
|---|---|
| ExceptWith | Removes the values from this set which are also present in another collection. |
| IntersectWith | Removes the values from this set which are absent in another collection. |
| UnionWith | Adds all distinct values from the other collection to this set. Does not throw if a value is already in this set. |