Class XHashSetPool
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.dll
Syntax
public static class XHashSetPool
Methods
Free<T>(HashSet<T>)
Declaration
public static void Free<T>(this HashSet<T> hashSet)
Parameters
Type | Name | Description |
---|---|---|
Hash |
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 |
---|---|
Hash |
Type Parameters
Name | Description |
---|---|
T |