| Method |
Description |
| Add |
Adds a new item.
If the item is already present in the collection, this method should throw, but currently does not!
Instead, it returns false without replacing said item.
|
| AsParallelWriter |
Returns a parallel writer.
|
| AsReadOnly |
Returns a readonly version of this NativeParallelHashSet instance.
|
| Clear |
Removes all values.
|
| Contains |
Returns true if a particular value is present.
|
| Count |
Returns the current number of values in this set.
|
| Dispose |
Releases all resources (memory and safety handles).
|
| GetEnumerator |
Returns an enumerator over the values of this set.
|
| Remove |
Removes a particular value.
|
| ToNativeArray |
Returns an array with a copy of this set's values (in no particular order).
|
| TryAdd |
Attempts to add a new item. Only succeeds if the item was not present.
|