IntersectWith
Removes the values from this set which are absent in another collection.
Read time 13 minutesLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
IntersectWith<T>(NativeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(NativeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(NativeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeHashSet<T> container, UnsafeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(NativeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref NativeParallelHashSet<T> container, UnsafeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList128Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList32Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList4096Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList512Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, FixedList64Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, NativeArray<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeArray<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(UnsafeHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(UnsafeHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(UnsafeHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
IntersectWith<T>(UnsafeHashSet<T>, NativeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, NativeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeHashSet<T> container, UnsafeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, FixedList128Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList128Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, FixedList32Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList32Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, FixedList4096Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList4096Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, FixedList512Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList512Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, FixedList64Bytes<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, FixedList64Bytes<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, NativeArray<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeArray<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, NativeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, UnsafeHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, NativeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, UnsafeParallelHashSet<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, ReadOnly)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, NativeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, NativeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.
IntersectWith<T>(UnsafeParallelHashSet<T>, UnsafeList<T>)
Removes the values from this set which are absent in another collection.
public static void IntersectWith<T>(this ref UnsafeParallelHashSet<T> container, UnsafeList<T> other) where T : unmanaged, IEquatable<T>
Parameters
The set to remove values from.
The collection to compare with.