Class XHashSetPool
Namespace: Unity.VisualScripting
Syntax
public static class XHashSetPool
Methods
Free<T>(HashSet<T>)
Declaration
public static void Free<T>(this HashSet<T> hashSet)
Parameters
| Type | Name | Description |
|---|---|---|
| HashSet<T> | hashSet |
Type Parameters
| Name | Description |
|---|---|
| T |
ToHashSetPooled<T>(IEnumerable<T>)
Declaration
public static HashSet<T> ToHashSetPooled<T>(this IEnumerable<T> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | source |
Returns
| Type | Description |
|---|---|
| HashSet<T> |
Type Parameters
| Name | Description |
|---|---|
| T |