File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88namespace ExtendedSystemObjects
99{
10+ /// <summary>
11+ ///
12+ /// </summary>
13+ /// <seealso cref="System.IDisposable" />
1014 public sealed class SortedKvStore : IDisposable
1115 {
1216 private readonly IntArray _keys ;
@@ -130,6 +134,7 @@ public void Remove(int key)
130134 _occupied [ idx ] = 0 ;
131135 }
132136 }
137+
133138 public bool TryRemove ( int key , out int index )
134139 {
135140 index = BinarySearch ( key ) ;
@@ -249,11 +254,17 @@ public void Clear()
249254 _occupied . Clear ( ) ;
250255 }
251256
257+ /// <summary>
258+ /// Finalizes an instance of the <see cref="SortedKvStore"/> class.
259+ /// </summary>
252260 ~ SortedKvStore ( )
253261 {
254262 Dispose ( ) ;
255263 }
256264
265+ /// <summary>
266+ /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
267+ /// </summary>
257268 public void Dispose ( )
258269 {
259270 _keys . Dispose ( ) ;
You can’t perform that action at this time.
0 commit comments