浏览代码

reworded orderedset summary

/main
Steven Leal 4 年前
当前提交
a02228f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Runtime/Randomization/Randomizers/OrderedSet.cs

2
com.unity.perception/Runtime/Randomization/Randomizers/OrderedSet.cs


/// <summary>
/// This collection has the properties of a HashSet that also preserves insertion order. As such, this data
/// structure demonstrates the following time complexities:
/// O(1) lookup, O(1) add, O(1) remove, and O(n) traversal
/// O(1) lookup, O(1) insertion, O(1) removal, and O(n) traversal
/// </summary>
/// <typeparam name="T">The item type to store in this collection</typeparam>
class OrderedSet<T> : ICollection<T>

正在加载...
取消
保存