We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e9864c commit 9a92a4dCopy full SHA for 9a92a4d
2 files changed
ExtendedSystemObjects/IntArray.cs
@@ -59,7 +59,7 @@ public IntArray(int size)
59
/// <summary>
60
/// Gets the current allocated capacity.
61
/// </summary>
62
- private int Capacity { get; set; }
+ public int Capacity { get; set; }
63
64
/// <inheritdoc />
65
ExtendedSystemObjects/SortedKvStore.cs
@@ -58,6 +58,14 @@ public SortedKvStore(int initialCapacity = 16)
58
public int Count { get; private set; }
+ /// <summary>
+ /// Gets the free capacity.
+ /// </summary>
+ /// <value>
+ /// The free capacity.
66
+ /// </value>
67
+ public int FreeCapacity => _keys.Capacity - Count;
68
+
69
70
/// Gets an enumerable collection of all keys currently in the store.
71
0 commit comments